Hi All, I'm having a problem with the SimpleSocketServer displaying my custom levels that I've created.
Here's what I have in my client config: log4j.loggerFactory=testing.MyLoggerFactory log4j.rootCategory=, A1 log4j.appender.A1=org.apache.log4j.net.SocketAppender log4j.appender.A1.RemoteHost=localhost log4j.appender.A1.Port=8887 Here's my server config: log4j.loggerFactory=testing.MyLoggerFactory log4j.rootCategory=, A1 log4j.appender.A1=org.apache.log4j.ConsoleAppender log4j.appender.A1.layout=org.apache.log4j.PatternLayout log4j.appender.A1.layout.ConversionPattern=%d{yy-MM-dd HH:mm:ss} %-5p %c - %m%n Here's the code that I call: static MyLogger logger = (MyLogger) MyLogger.getLogger("ProxyServer.class"); public static void main(String[] a) throws Exception { PropertyConfigurator.configure(System.getProperty("proxy.home") + File.separator + "proxyserver.properties"); logger.status("Starting ProxyServer"); ... I created a STATUS level that is the same level as DEBUG. Without using a SocketAppender, my ouput would look like this: 02-10-04 10:33:05 STATUS ProxyServer.class - Starting ProxyServer But with the SocketAppender I am getting 02-10-04 10:33:05 DEBUG ProxyServer.class - Starting ProxyServer My project requires that I output the log in a certain format. I hope I am going about this the right way with creating custom Levels and such. All I really need are the level names to be outputted differently, and be able to log two different processes to the same log file. Thanks for any help, Tom -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>