Thanx a lot Juan. but could u plz tell me if there is any option that allows me to view the log from any remote client without configuring its ip/port at the server side?? In my case i wish to see the offline and real-time log messages from 8-10 remote clients and i dont wish to hard-code their ip/port at the server side configuration. Each of the clients have chainsaw in their respective machines. Thanx for the help in advance !!!
Amit -----Original Message----- From: Juan Jos� Garc�a Lau [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 24, 2004 9:57 PM To: Log4J Users List Subject: RE: chainsaw for viewing messages remotely?? Amit, I think that I'm using the same schema I have three appenders, one for the stdout, an XML file to view it offline and the other to the chainsaw client to view it remotely. You can open the XML log file in the chainsaw to view it offline. Here is my properties file: log4j.rootLogger=DEBUG, stdout, AppXML, CHAINSAW_CLIENT #appender para la consola log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.layout=org.apache.log4j.PatternLayout log4j.appender.stdout.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n #para xml, AppXML log4j.appender.AppXML=org.apache.log4j.FileAppender log4j.appender.AppXML.file=D:/Lealtad/logs/log_lealtad.xml #Use the lastest CVS for a complete XMLLayout log4j.appender.AppXML.layout=org.apache.log4j.xml.XMLLayout log4j.appender.AppXML.append=true #appender para Chainsaw, CHAINSAW_CLIENT log4j.appender.CHAINSAW_CLIENT=org.apache.log4j.net.SocketAppender log4j.appender.CHAINSAW_CLIENT.RemoteHost=jgarcia log4j.appender.CHAINSAW_CLIENT.Port=4560 log4j.appender.CHAINSAW_CLIENT.LocationInfo=true I hope this will help you Regards, Juan Garc�a -----Original Message----- From: Amit Nigam [mailto:[EMAIL PROTECTED] Sent: Martes, 24 de Agosto de 2004 05:57 a.m. To: '[EMAIL PROTECTED]' Subject: chainsaw for viewing messages remotely?? Hi, I am exploring chainsaw v2 of log4j's latest development and my requirement is such that i want to view my log messages remotely, say at the client's end. Is there any way or configuration in chainsaw using which i can view my offline and real-time log-messages from a remote machine while they are getting generated on the server machine. I wonder if anyone has tried this. can anyone help me out? Regards, Amit --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
