At 12:10 21.05.2001 +0000, you wrote:
>Hi!
>
>I'm a new user of Log4j. I have a question and would appreciate if you could help me.
>
>I'm trying to use the socket appender org.apache.log4j.net.SocketServer.
>
>After starting SocketServer::main(String []), I get the following error messages when 
>I send messages to the socket:
>
>"Could not find config file [C:\localhost.lcf]."
>
>and
>
>"Could not find config file [C:\generic.lcf]. Will use the default hierarchy."

These are warnings not errors! However, they should perhaps be debug messages not 
warnings.

>I give SocketServer::main method a propertyConfigurator file that it uses. Do I also 
>have to have the propertyConfiguration files "<hostname>.lcf" and "generic.lcf" in 
>the config file directory?

Have you had a look at:

  http://jakarta.apache.org/log4j/docs/api/org/apache/log4j/net/SocketServer.html

did you?

>Another question: Must property configuration files have the extention ".lcf"?

No, they don't. Hope this helps, Ceki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to