Skip to content

Commit 099a24b

Browse files
committed
Add debug output to log.txt
1 parent d043e6b commit 099a24b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Diff for: CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ Note that this project **does not** adhere to [Semantic Versioning](http://semve
2424

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

Diff for: src/main/java/org/jabref/cli/Launcher.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ private static void addLogToDisk() {
105105
// https://tinylog.org/v2/configuration/#shared-file-writer
106106
Map<String, String> configuration = Map.of(
107107
"writerFile", "shared file",
108-
"writerFile.level", "info",
108+
"writerFile.level", "debug",
109109
"writerFile.file", directory.resolve("log.txt").toString(),
110110
"writerFile.charset", "UTF-8");
111111

0 commit comments

Comments
 (0)