Paul Nader:

I have just tried your props. But I also dosenot produce any log output. Anyway, thank you!
My developing environment is gentoo 2004.2 kernel version 2.6.9-r4. Do you have any suggestions about solving this problem?


Sincerely,

Sun Xiaoguang

From: "Paul Nader" <[EMAIL PROTECTED]>
Reply-To: "Log4CXX User" <[email protected]>
To: "'Log4CXX User'" <[email protected]>
Subject: RE: SocketHubAppender client
Date: Fri, 19 Nov 2004 20:45:06 +0100

Anton,

These are the props we used:

log4j.logger.SocDataLogger=OFF, hubdatafile, socdatafile
log4j.additivity.SocDataLogger=false

log4j.appender.hubdatafile=SocketHubAppender
log4j.appender.hubdatafile.Port=13289

log4j.appender.socdatafile=SocketAppender
log4j.appender.socdatafile.RemoteHost=blade
log4j.appender.socdatafile.Port=14445

Maybe try testing you are actually logging something by replacing it with
a DailyRollingFileAppender?

Regards

Paul Nader
Consulting Engineer
Rubix Information Technlogies, Inc.
www.rubixinfotech.com

> -----Mensaje original-----
> De: ?茂 ?镁鹿芒 [mailto:[EMAIL PROTECTED]
> Enviado el: Friday, 19 November 2004 8:26 PM
> Para: [email protected]
> Asunto: RE: SocketHubAppender client
>
>
> I think may there are something wrong with my SocketHubAppender in my
> server side. I have tried your code. But it show nothing.
> Are there any error in my properties file? Thanks!
>
> here it is my properties file.
>
> log4j.rootLogger=debug, hls, hub
> log4j.hds.hdsconfig=debug, hls, hub
> log4j.hds.hdsconfig=debug, hls, hub
>
> log4j.appender.hls=org.apache.log4j.SocketAppender
> log4j.appender.hls.RemoteHost=localhost
> log4j.appender.hls.Port=4560
>
> log4j.appender.hub=org.apache.log4j.SocketHubAppender
> log4j.appender.hub.Port=4561
>
>
> >From: [EMAIL PROTECTED]
> >Reply-To: "Log4CXX User" <[email protected]>
> >To: [email protected]
> >CC: [EMAIL PROTECTED]
> >Subject: SocketHubAppender client
> >Date: Fri, 19 Nov 2004 14:04:17 -0500
> >
> >Someone had asked a couple of days ago regarding the
> sockethubappender.
> >I got this from our developer who was using the sockethubappender...
> >
> >BTW -- did you setup a socket hub appender configuration in
> your server
> >side before tryingto connect?
> >
> >Renny Koshy
> >President & CEO
> >
> >--------------------------------------------
> >RUBIX Information Technologies, Inc.
> >www.rubixinfotech.com
> >
> >
> >
> ><< CdrSocketClient.cpp >>
>
> _________________________________________________________________
> ??垂涓?浇 MSN Explorer:   http://explorer.msn.com/lccn/
>


_________________________________________________________________
享用世界上最大的电子邮件系统― MSN Hotmail。 http://www.hotmail.com




Reply via email to