forked from DSpace/DSpace
-
Notifications
You must be signed in to change notification settings - Fork 2
Logging
milanmajchrak edited this page Jun 24, 2024
·
2 revisions
We modified logging
In https://github.com/dataquest-dev/DSpace/blob/dtq-dev/dspace/src/main/docker/dspace-solr/Dockerfile, there is
modified solr logging configuration
(https://github.com/dataquest-dev/DSpace/blob/dtq-dev/scripts/log4j2.solr.xml)
that ensures only warns and errors are logged as output of solr (therefore those seen in docker dspacesolr0 logs
).
- Added warn file here
https://github.com/dataquest-dev/DSpace/blob/7cc274230302eece81ba186bfeb88940f76940d9/dspace/config/log4j2.xml#L81
that creates and populates another file next to
dspace.log
calledwarn.log
. There are only errors and warnings in the new file. - Added log file for storing file download logs. The log file is called:
file_downloads.log