|
The log listener would just be an instance of org.apache.log4j.net.SocketNode, wouldn't it? That looks like the simplest setup. I recall doing this a few years ago when I was first messing with log4j but I don't have an example running in production at the moment. PC2 -----Original Message----- From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of David Gibbs Sent: March 9, 2006 13:50 To: Java Programming on and around the iSeries / AS400 Subject: Re: Remote Logging using Log4J cornelius, chad wrote: > All I would like to do is log to a file on the IFS using a log listener. > We have a server that is not internal, so accessing the logs from that > server is difficult. It doesn't have to log to the ISeries either. > It could log to another windows server within our network if need be. I've used the SocketAppender to log to chainsaw (log4j gui log viewer), which wasn't hard at all, but never written a log listener.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.