Chris,
Thanks, I will change my sys.out and sys.err to logging ... Regards, Bihag Christopher Schultz-2 wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Bihag, > > On 8/26/2009 5:53 AM, bihag wrote: >> We are using RHEL-5, Tomcat 6.0.14. I am using log4j in all of my webapp. >> >> We want to configure our log file for web-app specific sys.out, sys.err >> messages which are currently coming in catalina.out. >> >> please provide some sample to show how/where to configure so we got >> web-app >> specific log for stdout. > > So, you want like webapp1.stdout.log, webapp2.stdout.log, etc.? > > That sounds like something very difficult if not impossible to > implement. How would the code know which webapp was logging? The only > option would be to check the classloader(s) of the calling classes, but > that's not guaranteed to work, and it's super slow. > > Your best option is to fix your code so it doesn't use stdout and stderr > at all. > > - -chris > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAkqVQVQACgkQ9CaO5/Lv0PCKswCdG9n4mLUJO4hRHhJ/OaiNDrBA > LZgAn327ax+USSIo83u7f31T+Z4L+ANw > =uV9H > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > > -- View this message in context: http://www.nabble.com/How-to-configure-..-logs-catalina.out-of-tomcat-6.0.14-for-per-app-%28Configure-web-app-specific-log-file-for-sys.out%2C-sys.err-%29-tp25149746p25165857.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org