eddy, if you are using just tomcat server try setting it in logging.properties available in \conf of tomcat, if it doesnt work then try the log4j.properties..
Truly speaking, i did try the sample in that post, neither i use tomcat. Sorry mate
By the time while some bartender comes in and give a thought try in both and verify once, it should be Ok, after all its just change in properties file and starting the server...