Is there way to keep log4j.properties on the classpath but to have a given java program reference a different properties file (i.e. log4j.blah.properties) and ignore log4j.properties.
When I try to tell it to use this different file in my code, it still references log4j.properties because it's on the classpath and is referenced automatically.
Again, I know how to make log4j reference a custom named properties file. What I am asking is if I can do that while keeping log4j.properties intact yet ignored.
Any advice?
Thanks,
Alex
When I try to tell it to use this different file in my code, it still references log4j.properties because it's on the classpath and is referenced automatically.
Again, I know how to make log4j reference a custom named properties file. What I am asking is if I can do that while keeping log4j.properties intact yet ignored.
Any advice?
Thanks,
Alex