logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Damon McDougald <robspierr...@yahoo.com>
Subject socketAppender + SimpleSocketServer
Date Tue, 11 Mar 2008 23:16:26 GMT
Hey guys, I can get the socketAppender and SimpleSocketServer to work while I am debugging
my code.  But, when I run my Junit Test outside of debug Nothing happens.  Has anyone experienced
this before?

Here is my client file:
log4j.rootLogger=INFO,S
log4j.appender.S=org.apache.log4j.net.SocketAppender
log4j.appender.S.Port=13333
log4j.appender.S.RemoteHost=xxxx.com

Here is my server file:
log4j.rootLogger=DEBUG,R


log4j.logger.com.xxx.R07772Write=INFO,F
log4j.additivity.com.xxx.R07772Write=false

# Rolling File Appender
log4j.appender.R=org.apache.log4j.RollingFileAppender
log4j.appender.R.File=mylog.log
log4j.appender.R.MaxFileSize=5MB
log4j.appender.R.MaxBackupIndex=5
log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.ConversionPattern=%d{DATE} (%x) %-5p %c{1} %m%n

# Rolling File Appender (F)
log4j.appender.F=org.apache.log4j.RollingFileAppender
log4j.appender.F.File=test.log
log4j.appender.F.MaxFileSize=5MB
log4j.appender.F.MaxBackupIndex=3
log4j.appender.F.layout=org.apache.log4j.PatternLayout
log4j.appender.F.layout.ConversionPattern=%m%n




      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message