M
Mohun Biswas
I want to do something that seems like it should be common but Google
hasn't helped. My java application makes use of log4j for debug purposes
and consequently I have a fairly verbose log4j.properties set up. I
normally test the app running directly in my IDE (Eclipse), but I also
maintain an ant build.xml file for generating "release" builds which are
somewhat more locked down. Naturally, I want the release version to use
less verbose logging, so I need a way to make ant either modify
log4j.properties en route to the jar or swap in a release version of
log4j.properties. Can anyone point to an example?
TIA,
MB
hasn't helped. My java application makes use of log4j for debug purposes
and consequently I have a fairly verbose log4j.properties set up. I
normally test the app running directly in my IDE (Eclipse), but I also
maintain an ant build.xml file for generating "release" builds which are
somewhat more locked down. Naturally, I want the release version to use
less verbose logging, so I need a way to make ant either modify
log4j.properties en route to the jar or swap in a release version of
log4j.properties. Can anyone point to an example?
TIA,
MB