<?xml version="1.0" encoding="UTF-8" ?> <Configuration monitorInterval="60"> <Properties> <Property name="logpath">/home/aoi/sh-msgsender</Property> <Property name="wkjslogpath">/data</Property> </Properties> <Appenders> <Console name="stdout" target="SYSTEM_OUT"> <ThresholdFilter level="info" onMatch="ACCEPT" onMismatch="DENY" /> <PatternLayout pattern="%-d{ABSOLUTE} [%c]-[%p] %m%n" /> </Console> <RollingFile name="RollingFile" fileName="${logpath}/logs/msgsender.log" filePattern="${logpath}/logs/msgsender-%d{yyyyMMddHH}.log"> <PatternLayout pattern="[%-5p] %d %c - %m%n" /> <Policies> <TimeBasedTriggeringPolicy /> </Policies> <DefaultRolloverStrategy max="20" /> <bufferedIO>true</bufferedIO> <bufferSize>16384</bufferSize> </RollingFile> <RollingFile name="IOSRollingFile" fileName="${wkjslogpath}/logs/ios.log" filePattern="${wkjslogpath}/logs/ios.log.%d{yyyyMMddHH00}"> <Filters> <ThresholdFilter level="INFO"/> </Filters> <PatternLayout pattern="%m%n" /> <Policies> <TimeBasedTriggeringPolicy interval="1" modulate="true" /> </Policies> </RollingFile> <Async name="async"> <bufferSize>1024</bufferSize> <AppenderRef ref="stdout" /> <AppenderRef ref="RollingFile" /> </Async> </Appenders> <Loggers> <logger name="IosMsgLogger" level="info" additivity="false"> <appender-ref ref="IOSRollingFile"/> </logger> <Logger name="org.apache.log4j.xml" level="debug"> <AppenderRef ref="stdout" /> <AppenderRef ref="RollingFile" /> </Logger> <Root level="debug"> <AppenderRef ref="stdout" /> <AppenderRef ref="RollingFile" /> </Root> </Loggers> </Configuration>
捐助开发者
在兴趣的驱动下,写一个免费
的东西,有欣喜,也还有汗水,希望你喜欢我的作品,同时也能支持一下。 当然,有钱捧个钱场(右上角的爱心标志,支持支付宝和PayPal捐助),没钱捧个人场,谢谢各位。
谢谢您的赞助,我会做的更好!