events.archiver.properties

来自「opennms得相关源码 请大家看看」· PROPERTIES 代码 · 共 68 行

PROPERTIES
68
字号
################################################################################## This file has the properties used to fine tune the running of the events	## archiver subsystem of the distributed poller					##										## Note 1: Lines beginning with a '#' or a '!' are treated as comments		##										## Note 2: Please refer to log4j documentation for notes on setting up log4j	##         properties if needed - http://jakarta.apache.org/log4j/docs/index.html###################################################################################   The uncategorized log is the catch-all for all Log4j output#   that is not appended elsewhere.log4j.rootCategory=DEBUG, ROOTCATlog4j.appender.ROOTCAT=org.apache.log4j.ConsoleAppenderlog4j.appender.ROOTCAT.layout=org.apache.log4j.PatternLayoutlog4j.appender.ROOTCAT.layout.ConversionPattern=%d %-5p [%t] %c{1}: %m%nlog4j.category.STDOUT=DEBUG, stdoutlog4j.appender.stdout=org.apache.log4j.ConsoleAppenderlog4j.appender.stdout.layout=org.apache.log4j.PatternLayoutlog4j.appender.stdout.layout.ConversionPattern=%d %-5p [%t] %c{1}: %m%n# EventsArchiver - logs from the events archiver runlog4j.category.OpenNMS.Archiver.Events=DEBUG, EVENTS_ARCHIVERlog4j.additivity.OpenNMS.Archiver.Events=falselog4j.appender.EVENTS_ARCHIVER=org.apache.log4j.RollingFileAppenderlog4j.appender.EVENTS_ARCHIVER.MaxFileSize=100MBlog4j.appender.EVENTS_ARCHIVER.MaxBackupIndex=4log4j.appender.EVENTS_ARCHIVER.File=@install.logs.dir@/events.archiver.loglog4j.appender.EVENTS_ARCHIVER.layout=org.apache.log4j.PatternLayoutlog4j.appender.EVENTS_ARCHIVER.layout.ConversionPattern=%d %-5p [%t] %c{1}: %m%n ################################################################################## The log level and name of the appender for the archive file			## The log level can be one of FATAL, ERROR, WARN, INFO, DEBUG			## The level should be atleast FATAL for the archiving to work			##################################################################################log4j.category.EventsArchiver = WARN, EventsRollingFile################################################################################## The type of log4j Appender to set for the events archive			##################################################################################log4j.appender.EventsRollingFile = org.apache.log4j.RollingFileAppender################################################################################## The actual archive file							##################################################################################log4j.appender.EventsRollingFile.File = @install.share.dir@/events/events.archive################################################################################## Maximum size the archive file is allowed to reach before rolling over		##################################################################################log4j.appender.EventsRollingFile.MaxFileSize = 100MB################################################################################## Number of backup files to maintain for the archive				##################################################################################log4j.appender.EventsRollingFile.MaxBackupIndex = 4################################################################################## The pattern in which the output is required in the archive			## Here the PatternLayout's ConversionPattern is left unspecified since there	## should be no prefix before the logs to the archive				##################################################################################log4j.appender.EventsRollingFile.layout = org.apache.log4j.PatternLayout

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?