logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chuck.Irv...@mail.sprint.com
Subject RE: Newbie: socket appender-Addition
Date Fri, 21 Sep 2001 16:09:43 GMT
I'm interested in chainsaw, but I don't see it anywhere on 
www.geocites.com/oburn/.  Am I missing something? Thanks

Chuck

> -----Original Message-----
> From: cnewlander [mailto:cnewlander@eqtc.com]
> Sent: Friday, September 21, 2001 10:51 AM
> To: log4j-user
> Cc: cnewlander
> Subject: RE: Newbie: socket appender-Addition
> 
> 
> Try chainsaw - a java gui for log4j events.
> 
> http://www.geocities.com/oburn/
> 
> -----Original Message-----
> From: Alex Colic [mailto:alex.colic@pop-ware.com]
> Sent: Friday, September 21, 2001 10:11 AM
> To: Log4j
> Subject: Newbie: socket appender-Addition
> 
> 
> Hi,
> 
> sorry I forgot to include my code samples.
> 
> My Properties file has the following:
> 
> log4j.appender.SOCKET=org.apache.log4j.net.SocketAppender
> log4j.appender.SOCKET.RemoteHost=ws30
> log4j.appender.SOCKET.Port=10003
> log4j.appender.SOCKET.layout.ConversionPattern=%5p [%t]
> (%F:%L)-(%M)-(%d{ISO8601})-%m%n
> 
> One of my classes, Monitor, has the following:
> 
>  private static final Category
> cat=Category.getInstance(Monitor.class.getName());
> 
> and within the methods I have:
> 
>     if(cat.isInfoEnabled())
>       {
>         cat.info("Port: " + port);
>       }
> 
> I think the messages are going down the socket but the VB app 
> is not reading
> them correctly. I think some of the characters are 
> unprintable and it seems
> that the string is being truncated into two character sets.
> 
> Any help is appreciated.
> 
> Alex
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: log4j-user-help@jakarta.apache.org
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: log4j-user-help@jakarta.apache.org
> 
> 


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


Mime
View raw message