FAQ
FAQ by Product
Most Popular
Load More
Latest
The default logger configuration of Muse Proxy is to produce
NOTICE
com.edulib.ice.util.log.ICETextLog
${MUSE_HOME}/proxy/logs/MuseProxy.log
10485760
{0, date,yyyy-MM-dd'T'HH:mm:ss.SSS z} {1}: {4}: {3}
10
24
NOTICE
com.edulib.ice.util.log.ICETextLog
${MUSE_HOME}/proxy/logs/access.log
10485760
%h %A %w %W %u %S %t "%r" "%{Content-Type}o" %s %b "%{User-Agent}i"
10
24
STATISTICS
com.edulib.ice.util.log.ICETextLog
${MUSE_HOME}/proxy/logs/MuseProxyStatistics.log
10485760
{0, date,yyyy-MM-dd'T'HH:mm:ss.SSS z} {3}
10
24
Follow the instructions below to have a single log file with an entire day of logging and with the date stamp in the filename, e.g. MuseProxy-20230719:
*.log.1
, *.log.2
…*.log.10
files which rotate by size when reaching 10485760 bytes or at midnight, depending on whichever condition is first met:
- Stop the Muse Proxy service
-
Edit the Muse Proxy main configuration file:
${MUSE_HOME}/proxy/MuseProxy.xml
(make a backup copy first of this file) and replace the existing logger sections (see above), with:NOTICE com.edulib.ice.util.log.ICETextLog ${MUSE_HOME}/proxy/logs/MuseProxy.log 0 {0, date,yyyy-MM-dd'T'HH:mm:ss.SSS z} {1}: {4}: {3} 365 0 NOTICE com.edulib.ice.util.log.ICETextLog ${MUSE_HOME}/proxy/logs/access.log 0 %h %A %w %W "%u" %S %t "%r" "%{Content-Type}o" %s %b %e "%{User-Agent}i" "%{Referer}i" %D 90 0 STATISTICS com.edulib.ice.util.log.ICETextLog ${MUSE_HOME}/proxy/logs/MuseProxyStatistics.log 0 {0, date,yyyy-MM-dd'T'HH:mm:ss.SSS z} {3} 365 0 - Start the Muse Proxy service
Categories: Installation, Muse Proxy