log4cplus.rootLogger=INFO, DEBUG_APPENDER, CALL_LOG_APPENDER, SYSLOG_APPENDER

# Modifying logging level per module
log4cplus.logger.netborder.ace=WARN
log4cplus.logger.netborder.oam=WARN
log4cplus.logger.netborder.stdsoap2=WARN
log4cplus.logger.netborder.appWeb=WARN
log4cplus.logger.netborder.sip.message=DEBUG
log4cplus.logger.netborder.voip=DEBUG
#log4cplus.logger.netborder.gw=TRACE
#log4cplus.logger.netborder.ds=TRACE
#log4cplus.logger.netborder.media=TRACE
#log4cplus.logger.netborder.pstn=TRACE
#log4cplus.logger.netborder.net=TRACE
#log4cplus.logger.netborder.thread=TRACE

# Uncomment to mute SIP interop warnings
#log4cplus.logger.netborder.sip.ua.interop=ERROR

# Uncomment to mute name resolution warnings for canonical URLS
#log4cplus.logger.netborder.voip.canonical=ERROR

# TELESOFT implementation loggers
#log4cplus.logger.netborder.pstn.telesoft.LapD=DEBUG
#log4cplus.logger.netborder.pstn.telesoft.TsLink=DEBUG
#log4cplus.logger.netborder.pstn.telesoft.TsLink3Proxy.buffer=DEBUG
#log4cplus.logger.netborder.pstn.telesoft.TelesoftStack=DEBUG
#log4cplus.logger.netborder.pstn.telesoft.TelesoftStackEvent=DEBUG
#log4cplus.logger.netborder.pstn.telesoft.LldManager=DEBUG
#log4cplus.logger.netborder.pstn.telesoft.LldHdlc=DEBUG
#log4cplus.logger.netborder.pstn.telesoft.LldHdlcSangoma=DEBUG
#log4cplus.logger.netborder.pstn.telesoft.LldNiSangoma=DEBUG

# PSTN call control loggers
log4cplus.logger.netborder.sangoma.isdn.message=DEBUG
log4cplus.logger.netborder.pstn.sangoma.isdn.board=DEBUG
log4cplus.logger.netborder.pstn.sangoma.isdn.span=DEBUG
log4cplus.logger.netborder.pstn.sangoma.isdn.channel=DEBUG
log4cplus.logger.netborder.pstn.sangoma.isdn.lapd=DEBUG
log4cplus.logger.netborder.pstn.sangoma.isdn.ie=DEBUG

# Media processing loggers
#log4cplus.logger.netborder.media.jrtp=DEBUG
#log4cplus.logger.netborder.media.sangoma=DEBUG
#log4cplus.logger.netborder.media.CallSM=DEBUG
#log4cplus.logger.netborder.media.EndpointSM=DEBUG
#log4cplus.logger.netborder.media.tone.detector=DEBUG
#log4cplus.logger.netborder.media.tone.detector.preconnect=DEBUG

# Analog loggers
#log4cplus.logger.netborder.pstn.telesoft.analog.fxo.lld=DEBUG
#log4cplus.logger.netborder.pstn.analog.message=INFO
#log4cplus.logger.netborder.pstn.sangoma.analog.channel=DEBUG

# Ouput raw message only
log4cplus.appender.SYSTEMLOGGER.layout.ConversionPattern=%m
# Append only WARN/ERROR/FATAL logs in the Event logger
log4cplus.appender.SYSTEMLOGGER.filters.1=log4cplus::spi::LogLevelRangeFilter
log4cplus.appender.SYSTEMLOGGER.filters.1.LogLevelMin=WARN
log4cplus.appender.SYSTEMLOGGER.filters.1.LogLevelMax=FATAL
log4cplus.appender.SYSTEMLOGGER.filters.1.AcceptOnMatch=true
log4cplus.appender.SYSTEMLOGGER.filters.2=log4cplus::spi::DenyAllFilter

# DEBUG_APPENDER appender configuration : file truncated at each GW start
log4cplus.appender.DEBUG_APPENDER=log4cplus::FileAppender
log4cplus.appender.DEBUG_APPENDER.File=${netborder.Installation.Directory}/logs/GatewayDebug.log
log4cplus.appender.DEBUG_APPENDER.ImmediateFlush=true
log4cplus.appender.DEBUG_APPENDER.layout=log4cplus::PatternLayout
log4cplus.appender.DEBUG_APPENDER.layout.ConversionPattern=%D{%Y-%m-%d %H:%M:%S:%%q %%z} [%t] %p - %c : %m%n

# STDOUT
log4cplus.appender.STDOUT=log4cplus::ConsoleAppender
log4cplus.appender.STDOUT.ImmediateFlush=true
log4cplus.appender.STDOUT.layout=log4cplus::PatternLayout
log4cplus.appender.STDOUT.layout.ConversionPattern=%D{%Y-%m-%d %H:%M:%S:%%q %%z} [%t] %p - %c : %m%n



##################################
# Call Logging configuration
##################################

# Call Logging Appender
log4cplus.appender.CALL_LOG_APPENDER=log4cplus::NullAppender
log4cplus.appender.CALL_LOG_APPENDER.Directory=${netborder.Installation.Directory}/logs/call-logs
log4cplus.appender.CALL_LOG_APPENDER.ImmediateFlush=true
log4cplus.appender.CALL_LOG_APPENDER.layout=log4cplus::PatternLayout
log4cplus.appender.CALL_LOG_APPENDER.layout.ConversionPattern=%D{%Y-%m-%d %H:%M:%S:%%q %%z} [%t] %p - %c : %m%n

# Linux SysLog appender
log4cplus.appender.SYSLOG_APPENDER=log4cplus::SysLogAppender
log4cplus.appender.SYSLOG_APPENDER.ident=netborder
log4cplus.appender.SYSLOG_APPENDER.layout=log4cplus::PatternLayout
log4cplus.appender.SYSLOG_APPENDER.layout.ConversionPattern=%D{%Y-%m-%d %H:%M:%S:%%q} [%t] %p - %c : %m%n

# Directory structure with year/month/day/hour for your call logs (default true)
netborder.infra.CallLogger.dateTimeDirectory=true

##################################
# END - Call Logging configuration
##################################
