2013/8/22 Tomcat Random <tomcat.ran...@gmail.com>:
> My development setup is Win7 while my production is RHEL6. Both of the
> environments have the same settings in conf/logging.properties but the
> files in logs/ are slightly different.
>
> The access logs are named the same way. but on RHEL there's no
> tomcat7-stdout or tomcat7-stderr log files. Just 'catalina.out.YEAR.MO.DY'
> and the cumulative "catalina.out" with no date.
>
> What accounts for the differences?
>

catalina.sh redirects stderr to stdout with 2>&1 and logs them to the same file

Windows service wrapper (Apache Commons Daemon procrun) logs them to
separate files.

> Also, how would you stop logging to the 'catalina.out' file. It gets
> unusably gigantic within a few days.
>

Just do not write to the console.

http://tomcat.apache.org/tomcat-7.0-doc/logging.html#Considerations_for_productive_usage


Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to