Kevin,

On 4/3/23 10:07, Kevin Huntly wrote:
I'm launching with startup.sh and I have a setenv:

bin/startup.sh calls bin/catalina.sh. Have a look at the top few pages of catalina.sh to see what environment variables can be used to customize stuff like log file names.

https://pastebin.com/PKRgz2y1

It looks like you are already setting CATALINA_OUT. You should just be able to change the value to use a different file name.

The existing catalina.sh does not allow separate stdout and stderr streams. You could modify catalina.sh to easily redirect stderr to a different file if you wanted to.

-chris

________________________________________________

Kevin Huntly
Email: kmhun...@gmail.com
Cell: 716/424-3311
________________________________________________

-----BEGIN GEEK CODE BLOCK-----
Version: 1.0
GCS/IT d+ s a C++ UL+++$ P+(++) L+++ E---
W+++ N+ o K(+) w--- O- M-- V-- PS+ PE Y(+)
PGP++(+++) t+ 5-- X-- R+ tv+ b++  DI++ D++
G++ e(+) h--- r+++ y+++*
------END GEEK CODE BLOCK------


On Mon, Apr 3, 2023 at 10:03 AM Christopher Schultz <
ch...@christopherschultz.net> wrote:

Kevin,

On 4/2/23 09:08, Kevin Huntly wrote:
Couple questions:

1. Is there a way to change the default "stdout" to a different name?
e.g.
SystemOut.log (and by extension, can syserr be printed to something
SystemErr.log?)

How are you launching Tomcat?

2. When verbose:gc is turned on it logs a ton of stuff to stdout, can
that
output be redirected to a different file?

Have you tried google or "java -X"?

-chris

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




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

Reply via email to