# Set options for appender named "A2"
# A2 should be a RollingFileAppender, with maximum file size of 10 MB
# using at most one backup file. A2's layout is TTCC, using the
# ISO8061 date format with context printing enabled.
log4cplus.appender.A2=log4cplus::RollingFileAppender
log4cplus.appender.A2.MaxFileSize=256KB
log4cplus.appender.A2.MaxBackupIndex=1
#log4cplus.appender.A2.layout=log4cplus::TTCCLayout
log4cplus.appender.A2.layout=log4cplus::PatternLayout
log4cplus.appender.A2.layout.ConversionPattern=%D{%Y-%m-%d %H:%M:%S.%q%z} | %7T | %-5p | %c - %m (%b:%L)%n
log4cplus.appender.A2.layout.ContextPrinting=enabled
log4cplus.appender.A2.layout.DateFormat=%Y-%m-%d %H:%M:%S.%q%z
log4cplus.appender.A2.File=/var/log/stknxflash.log
log4cplus.appender.A2.Append=true
log4cplus.appender.A2.ImmediateFlush=true

log4cplus.appender.A3=log4cplus::ConsoleAppender
log4cplus.appender.A3.layout=log4cplus::TTCCLayout
log4cplus.appender.A3.layout.DateFormat=%Y-%m-%d %H:%M:%S.%q%z

# Root logger set to INFO using the A2 appender defined above.
log4cplus.rootLogger=INFO,A2
