Hi,

>When i start tomcat now, I still get some of the system.out from my
>webapp written to catalina.out.

No.  That can't be right.  The output you're seeing is coming from
somewhere else, or your configuration is otherwise messed up.

>My webapp implements ServletContextListener and HttpSessionListener,
>the output of the implementation class for ServletContextListener gets
>written to catalina.out.
>
>Que 1. Is there a way to write this output also to the file I am
>specifying?

I have the same use-case, and it goes to my Logger.

>Que 2. Also I notice that when I use FileLogger, it creates a new file
>each day, is there a way to tell it to create only one big huge file
>and keep appending to it (like catalina.out) ?

You don't have fine-grained control over the log file rotation.  This is
yet another reason why you shouldn't delay in moving to log4j.

Have I mentioned that the Logger elements are gone altogether in Tomcat
5.5, so this is largely a waste of your time?

Yoav



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to