...
#Appender data for xpolog
log4j.appender.xpolog=xpolog.eye.util.logging.DateFormatFileAppender
log4j.appender.xpolog.File=${xpolog.root.path}log/${xpolog.machine.name.path}xpologlog.log
log4j.appender.xpolog.DatePattern=yyyy-MM-dd
log4j.appender.xpolog.MaxFilesToKeep=30
log4j.appender.xpolog.layout=org.apache.log4j.PatternLayout
log4j.appender.xpolog.layout.ConversionPattern=[%d] [%t] [%p] [%c] [%l] %m%n
Note:
- Changing the Log4J configuration requires all XpoLog cluster nodes to be restarted.
- Upon changing the default logging settings the view of XpoLog logs via XpoLog support portal may not work, the logs may be defined in XpoLog using their modified configuration.
- Make sure you take into consideration the required disk space when changing the default settings. By default XpoLog log directory (per instance in cluster) may reach approximately 1GB on full capacity.