You will need some kind of logging framework to do this (e.g. Log4J). On Fri, Nov 20, 2009 at 12:26 PM, Milan Tomic <tomicmi...@yahoo.com> wrote:
> > > At present, system.out and system.err are printing in the Windows console. > How can I redirect output to some file? Or even better would be to have 2 > outputs: file and Windows console. I have tried to read Tomcat docs and got > lost there. It mentions default catalina.log as output, but I don't have it. > Nor logging.properties. > > Please, can someone give me short guide what I have to do to acomplish > logging of system.err and system.out into the file(s)? I can not change the > way applications log, apps log to system.out and doesn't use log4j. > > Thank you, > Milan > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > -- Aleksandar dipl. ing. Stoisavljevic Software Developer mobile: +381 (0) 64 211 50 40 Web: http://www.staleksit.in.rs E-mail:stal...@gmail.com <e-mail%3astal...@gmail.com> Mail: Branislava Nusica 10, 21000 Novi Sad, Serbia