-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add log on disk #8791
Add log on disk #8791
Conversation
I would like to have the ability to turn this off in the preferences and maybe it's better to write to /tmp? |
The directory is coming from AppDirs On Windows, these few bytes do not matter - currently, the AppDat directory has 244 GB on my disk...
@calixtus Can you support here or can we pospone that to a follow-up PR? 😇 |
The jdk-stirpping is explained at https://tinylog.org/v2/configuration/#strip-stack-trace-elements |
Switched to SharedFileWriter to enable re-creation of the log file at each start (and to enable concurrent instances writing to the log file). Thus, the amount of disk space used should be low. @calixtus and me fear that diving into the preferences could render logging unusable in certain situations. Therefore, we decided to always write the log. |
Solution now: only one file is created / overwritten when starting jabref. |
* upstream/main: checkstye Default path for ssl key store is nested inside "JabRef" directory (JabRef#8796) Add log on disk (JabRef#8791) Squashed 'buildres/csl/csl-styles/' changes from 25512a5..649aac4
* upstream/main: (109 commits) Fix right clicking a group and choosing "remove selected entries from this group" leads to error when Bibtex source tab is selected (JabRef#8821) Fix single identifier cannot be opened on click (JabRef#8838) Add Pubmed/Medline Query Transformer (JabRef#8818) adjust and add testcases for FileAnnotationViewModel (JabRef#8830) Append config instead of replacing (JabRef#8834) Fix eclipse config (JabRef#8835) Add Nemo file manager (JabRef#8831) Fix missing clear action on pressing esc within the "Filter groups" field (JabRef#8829) Update bouncycalse to new base version (JabRef#8827) add: add test cases for FileUtil (JabRef#8810) Restrict use of standard streams (JabRef#8816) updated 8802 (JabRef#8817) Bump pascalgn/automerge-action from 0.15.2 to 0.15.3 (JabRef#8803) Bump jackson-dataformat-yaml from 2.13.2 to 2.13.3 (JabRef#8804) Bump icu4j-charset from 70.1 to 71.1 (JabRef#8805) Fix notifications that overlap task bar (JabRef#8775) checkstye Default path for ssl key store is nested inside "JabRef" directory (JabRef#8796) Add log on disk (JabRef#8791) Fix for JabRef#8788 JabRef not showing contents of shared database library (JabRef#8793) ...
JabRef has a build-in logging framework. Howver, the log is hard to find and to open after JabRef has closed.
This PR adds logging to
%APPDATA%
using AppDirs.The log is a rolling log and also configured for parallel writing (in case there are multiple local instances of JabRef - who knows...)
Example:
Content:
CHANGELOG.md
described in a way that is understandable for the average user (if applicable)