RE: relative path for properties file

2001-09-07 Thread flyguy
Great thanks for the tip! I ran into one problem though. Since I am initializing the configurator in the static block of my code I don't have access to the non-static method getClass(). Where do most typically initialize their log4j configurators? and how do you check your properties file in

relative path for properties file

2001-09-06 Thread flyguy
Hi, I was wondering if anyone had experience initilizing their properity configurators. I code that looks like: private static final String logFile = "c://xmlparser.properties"; static { try { //read config for log4j webct logging PropertyConfigurator.con

Category.log(Priority, x)

2001-08-09 Thread flyguy
Hi, I have a function which is returning a boolean. I would like to log all return values and have the logging not suck down performance. I've noticed in the manual that it says I should do this if (category.isInfoEnabled() ) { category.log(Priority.INFO, ""+bMyReturnValue); } This would