Don't forget to set LocationInfo=true both the client side and server
side...
Maarten Bosteels wrote:
Package for remote logging:
http://logging.apache.org/log4j/docs/api/org/apache/log4j/net/package-summary.html
check out the socketAppender or the SyslogAppender:
http://logging.apache.o
?
Is it a conception not to send LocationInfo through the lan, or what?
Thanks:
Bence
Takács Bence wrote:
Sorry, I've just read the source and it turned out that filename,
methodname, classname and linenumber variables in the object
LocationInfo are transparent. That mean that when they
h tcp.
But why is it required? I would need theese variables on the server too
(in addition I miss a static hostName field from the LocationInfo).
I don't understand the concept...
Or maybe i misunderstood something...
Regards:
Bence
Takács Bence wrote:
Hello
I use a SocketServer
Hello
I use a SocketServer to collect the logs to a server, then I store them
into files. I use XmlLayout for formatting.
If I watch the files with Chainsaw, the Class, Method, Line, MDC fields
are empty, even though the are in present on the clients console. I
haven't find theese values in
Unfortunately we usually use Tapestry framework, not pure servlet. So in
that case we would need to override Tapestry's Application Servlet. Is
there any other way to do this?
What about the appenders? Or can I somehow override the root logger to
do the thing?
Thanks:
Bence
James Stauffe