You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Christopher Schultz <ch...@christopherschultz.net> on 2007/09/04 22:47:25 UTC
Re: localhost.log vs. catalina.out
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
icet,
icet wrote:
> What's the difference between [catalina.out and localhost.log]?
catalina.out should be where standard error and standard output for the
Tomcat process are redirected. localhost.log is dependent on how you
configure any <Loggers> in your server.xml.
If you are separately configuring logging using juli or log4j, then your
configuration can do all sorts of things.
catalina.out is always stderr and stdout IIRC.
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFG3cRc9CaO5/Lv0PARAmOqAJ0YGDC7pQS+n2NqIrL/Bl5c5XxargCeKz0q
sIPmW6hOjRNOoMbsjub0pxw=
=Vp/L
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: localhost.log vs. catalina.out
Posted by Lionel Crine <lc...@linagora.com>.
Hello,
If I may add more information :
In a production context, you should never use catalina.out to find
application errors.
Everything should be logged into the juli and/or log4j log files.
Anyway, catalina.out will always contain non catchable errors.
Lionel
Lionel CRINE - GROUPE LINAGORA
Open Source Software Engineer
Tel. : 01 58 18 68 28 - Fax : 01 58 18 68 29
www.linagora.com / www.linagora.org
Christopher Schultz a écrit :
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> icet,
>
> icet wrote:
>> What's the difference between [catalina.out and localhost.log]?
>
> catalina.out should be where standard error and standard output for the
> Tomcat process are redirected. localhost.log is dependent on how you
> configure any <Loggers> in your server.xml.
>
> If you are separately configuring logging using juli or log4j, then your
> configuration can do all sorts of things.
>
> catalina.out is always stderr and stdout IIRC.
>
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFG3cRc9CaO5/Lv0PARAmOqAJ0YGDC7pQS+n2NqIrL/Bl5c5XxargCeKz0q
> sIPmW6hOjRNOoMbsjub0pxw=
> =Vp/L
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org