logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guilherme Costa" <gccost...@gmail.com>
Subject org.apache.log4j.net.SocketServer
Date Mon, 12 Jan 2009 17:42:10 GMT
Guys,
Two questions:

1- There is anyway to log the source message hostname?
2- On the InetAddress parsing to get the configuration file name (Line 174,
at SocketServer class using log4j 1.2.15), it's parsing using the slash,
that's the result under Windows XP:

java org.apache.log4j.net.SocketServer 3232 setup_server/generic.lcf
setup_server

2009-01-12 10:44:47,724 () SocketServer [INFO]  - Locating configuration
file for /172.16.11.109
2009-01-12 10:44:47,724 () SocketServer [WARN]  - Could not find config file
[setup_server\.lcf].


Thanks,
Gui

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message