Skip to content

Commit

Permalink
Add debug output to log.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
koppor committed Mar 17, 2023
1 parent d043e6b commit 099a24b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Note that this project **does not** adhere to [Semantic Versioning](http://semve

- 'Get full text' now also checks the file url. [#568](https://github.com/koppor/jabref/issues/568)
- We refined the 'main directory not found' error message. [#9625](https://github.com/JabRef/jabref/pull/9625)
- `log.txt` now contains debug messages. Debugging needs to be enabled explicitly.
- `log.txt` does not contain entries for non-found files during PDF indexing.
- We modified the `Add Group` dialog to use the most recently selected group hierarchical context [#9141](https://github.com/JabRef/jabref/issues/9141)

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/jabref/cli/Launcher.java
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ private static void addLogToDisk() {
// https://tinylog.org/v2/configuration/#shared-file-writer
Map<String, String> configuration = Map.of(
"writerFile", "shared file",
"writerFile.level", "info",
"writerFile.level", "debug",
"writerFile.file", directory.resolve("log.txt").toString(),
"writerFile.charset", "UTF-8");

Expand Down

0 comments on commit 099a24b

Please sign in to comment.