You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by "G.L. Grobe" <ga...@grobe.net> on 2001/09/01 23:43:42 UTC

seperate PropertyConfigurator file

I'm using JBoss 2.4 and as I understand it, there's a log4j.properties file
that it uses..

I'm hoping I can add a seperate properties file either in my J2EE app
somewheres, else I'll have to use the one in JBoss's ~/conf/default
directory. I was just wanting to separate the two so that it would be easier
on my users to not have to search through JBoss logging since I believe my
props file will be quite big.

Problem is, I can't seem to get it to find my properties file.
   PropertyConfigurator.configure("rtlog.properties");

Anyone done this? If so, where are you putting this props file ... is it
looking in the app classpath?

Another question, when using a RollingFileAppender, where would the log file
be placed once it's working? I didnt' see this mentioned anywheres.



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