You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Kevin Huntly <km...@gmail.com> on 2023/04/02 13:08:35 UTC
Logging
Hello,
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?)
2. When verbose:gc is turned on it logs a ton of stuff to stdout, can that
output be redirected to a different file?
________________________________________________
Kevin Huntly
Email: kmhuntly@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------
Re: Logging
Posted by Christopher Schultz <ch...@christopherschultz.net>.
Kevin,
On 4/3/23 12:32, Kevin Huntly wrote:
> ok, can you tell me what your thoughts are? I'm always interested in new
> things
I would recommend sending an alert to a realtime management system, if
at all possible. There are no guarantees if the JVM experiences some
trouble, but in my experience, OOME -> script to ping a management
system is fairly reliable.
-chris
> On Mon, Apr 3, 2023 at 12:31 PM Christopher Schultz
> <chris@christopherschultz.net <ma...@christopherschultz.net>> wrote:
>
> Kevin,
>
> On 4/3/23 12:10, Kevin Huntly wrote:
> > idk why i add the typeset, but I do everywhere just out of habit.
> i was
> > trained that way many many moons ago.
> >
> > Is there anything else in my setenv that needs work?
>
> That mostly depends upon your environment. The only thing that stuck
> out
> to me was the JAVA_OPTS versus CATALINA_OPTS. I didn't even notice that
> all the JMX configuration would have caused port conflicts, too. So
> there is another reason to only use CATALINA_OPTS for that stuff.
>
> Some of what you have in that script is not having any effect on Tomcat
> itself. But it may be serving other purposes.
>
> I have some personal thoughts about things like what should be done on
> OOMEs but again those are very environment-specific.
>
> -chris
>
> > On Mon, Apr 3, 2023 at 11:57 AM Christopher Schultz <
> > chris@christopherschultz.net
> <ma...@christopherschultz.net>> wrote:
> >
> >> Kevin,
> >>
> >> On 4/3/23 10:07, Kevin Huntly wrote:
> >>> I'm launching with startup.sh and I have a setenv:
> >>>
> >>> https://pastebin.com/PKRgz2y1 <https://pastebin.com/PKRgz2y1>
> >> >
> >> > typeset JAVA_OPTS="-Xms4096m -Xmx4096m -Dfile.encoding=utf-8
> >> -Djava.awt.headless=true";
> >>
> >> You don't want this. You want:
> >>
> >> typeset CATALINA_OPTS="-Xms4096m -Xmx4096m -Dfile.encoding=utf-8
> >> -Djava.awt.headless=true";
> >>
> >> (I'm not sure why you are bothering with "typeset". IMHO it adds
> nothing
> >> but extra characters to the file and or someone so say "what the
> hell is
> >> typset?")
> >>
> >> CATALINA_OPTS are used when launching Tomcat. JAVA_OPTS are used
> when
> >> launching any kind of JVM. An example is when shutting-down
> Tomcat. Your
> >> JAVA_OPTS sets the heap size to 4 GiB, but you only need like
> 5MiB to
> >> launch the "please shutdown" process, so a 4GiB heap for that is
> overkill.
> >>
> >> -chris
> >>
> >>> ________________________________________________
> >>>
> >>> Kevin Huntly
> >>> Email: kmhuntly@gmail.com <ma...@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 <
> >>> chris@christopherschultz.net
> <ma...@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-unsubscribe@tomcat.apache.org
> <ma...@tomcat.apache.org>
> >>>> For additional commands, e-mail: users-help@tomcat.apache.org
> <ma...@tomcat.apache.org>
> >>>>
> >>>>
> >>>
> >>
> >>
> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> <ma...@tomcat.apache.org>
> >> For additional commands, e-mail: users-help@tomcat.apache.org
> <ma...@tomcat.apache.org>
> >>
> >>
> >
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Logging
Posted by Kevin Huntly <km...@gmail.com>.
ok, can you tell me what your thoughts are? I'm always interested in new
things
________________________________________________
Kevin Huntly
Email: kmhuntly@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 12:31 PM Christopher Schultz <
chris@christopherschultz.net> wrote:
> Kevin,
>
> On 4/3/23 12:10, Kevin Huntly wrote:
> > idk why i add the typeset, but I do everywhere just out of habit. i was
> > trained that way many many moons ago.
> >
> > Is there anything else in my setenv that needs work?
>
> That mostly depends upon your environment. The only thing that stuck out
> to me was the JAVA_OPTS versus CATALINA_OPTS. I didn't even notice that
> all the JMX configuration would have caused port conflicts, too. So
> there is another reason to only use CATALINA_OPTS for that stuff.
>
> Some of what you have in that script is not having any effect on Tomcat
> itself. But it may be serving other purposes.
>
> I have some personal thoughts about things like what should be done on
> OOMEs but again those are very environment-specific.
>
> -chris
>
> > On Mon, Apr 3, 2023 at 11:57 AM Christopher Schultz <
> > chris@christopherschultz.net> wrote:
> >
> >> Kevin,
> >>
> >> On 4/3/23 10:07, Kevin Huntly wrote:
> >>> I'm launching with startup.sh and I have a setenv:
> >>>
> >>> https://pastebin.com/PKRgz2y1
> >> >
> >> > typeset JAVA_OPTS="-Xms4096m -Xmx4096m -Dfile.encoding=utf-8
> >> -Djava.awt.headless=true";
> >>
> >> You don't want this. You want:
> >>
> >> typeset CATALINA_OPTS="-Xms4096m -Xmx4096m -Dfile.encoding=utf-8
> >> -Djava.awt.headless=true";
> >>
> >> (I'm not sure why you are bothering with "typeset". IMHO it adds nothing
> >> but extra characters to the file and or someone so say "what the hell is
> >> typset?")
> >>
> >> CATALINA_OPTS are used when launching Tomcat. JAVA_OPTS are used when
> >> launching any kind of JVM. An example is when shutting-down Tomcat. Your
> >> JAVA_OPTS sets the heap size to 4 GiB, but you only need like 5MiB to
> >> launch the "please shutdown" process, so a 4GiB heap for that is
> overkill.
> >>
> >> -chris
> >>
> >>> ________________________________________________
> >>>
> >>> Kevin Huntly
> >>> Email: kmhuntly@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 <
> >>> chris@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-unsubscribe@tomcat.apache.org
> >>>> For additional commands, e-mail: users-help@tomcat.apache.org
> >>>>
> >>>>
> >>>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> >> For additional commands, e-mail: users-help@tomcat.apache.org
> >>
> >>
> >
>
Re: Logging
Posted by Christopher Schultz <ch...@christopherschultz.net>.
Kevin,
On 4/3/23 12:10, Kevin Huntly wrote:
> idk why i add the typeset, but I do everywhere just out of habit. i was
> trained that way many many moons ago.
>
> Is there anything else in my setenv that needs work?
That mostly depends upon your environment. The only thing that stuck out
to me was the JAVA_OPTS versus CATALINA_OPTS. I didn't even notice that
all the JMX configuration would have caused port conflicts, too. So
there is another reason to only use CATALINA_OPTS for that stuff.
Some of what you have in that script is not having any effect on Tomcat
itself. But it may be serving other purposes.
I have some personal thoughts about things like what should be done on
OOMEs but again those are very environment-specific.
-chris
> On Mon, Apr 3, 2023 at 11:57 AM Christopher Schultz <
> chris@christopherschultz.net> wrote:
>
>> Kevin,
>>
>> On 4/3/23 10:07, Kevin Huntly wrote:
>>> I'm launching with startup.sh and I have a setenv:
>>>
>>> https://pastebin.com/PKRgz2y1
>> >
>> > typeset JAVA_OPTS="-Xms4096m -Xmx4096m -Dfile.encoding=utf-8
>> -Djava.awt.headless=true";
>>
>> You don't want this. You want:
>>
>> typeset CATALINA_OPTS="-Xms4096m -Xmx4096m -Dfile.encoding=utf-8
>> -Djava.awt.headless=true";
>>
>> (I'm not sure why you are bothering with "typeset". IMHO it adds nothing
>> but extra characters to the file and or someone so say "what the hell is
>> typset?")
>>
>> CATALINA_OPTS are used when launching Tomcat. JAVA_OPTS are used when
>> launching any kind of JVM. An example is when shutting-down Tomcat. Your
>> JAVA_OPTS sets the heap size to 4 GiB, but you only need like 5MiB to
>> launch the "please shutdown" process, so a 4GiB heap for that is overkill.
>>
>> -chris
>>
>>> ________________________________________________
>>>
>>> Kevin Huntly
>>> Email: kmhuntly@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 <
>>> chris@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-unsubscribe@tomcat.apache.org
>>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>>
>>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Logging
Posted by Kevin Huntly <km...@gmail.com>.
idk why i add the typeset, but I do everywhere just out of habit. i was
trained that way many many moons ago.
Is there anything else in my setenv that needs work?
________________________________________________
Kevin Huntly
Email: kmhuntly@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 11:57 AM Christopher Schultz <
chris@christopherschultz.net> wrote:
> Kevin,
>
> On 4/3/23 10:07, Kevin Huntly wrote:
> > I'm launching with startup.sh and I have a setenv:
> >
> > https://pastebin.com/PKRgz2y1
> >
> > typeset JAVA_OPTS="-Xms4096m -Xmx4096m -Dfile.encoding=utf-8
> -Djava.awt.headless=true";
>
> You don't want this. You want:
>
> typeset CATALINA_OPTS="-Xms4096m -Xmx4096m -Dfile.encoding=utf-8
> -Djava.awt.headless=true";
>
> (I'm not sure why you are bothering with "typeset". IMHO it adds nothing
> but extra characters to the file and or someone so say "what the hell is
> typset?")
>
> CATALINA_OPTS are used when launching Tomcat. JAVA_OPTS are used when
> launching any kind of JVM. An example is when shutting-down Tomcat. Your
> JAVA_OPTS sets the heap size to 4 GiB, but you only need like 5MiB to
> launch the "please shutdown" process, so a 4GiB heap for that is overkill.
>
> -chris
>
> > ________________________________________________
> >
> > Kevin Huntly
> > Email: kmhuntly@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 <
> > chris@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-unsubscribe@tomcat.apache.org
> >> For additional commands, e-mail: users-help@tomcat.apache.org
> >>
> >>
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
Re: Logging
Posted by Christopher Schultz <ch...@christopherschultz.net>.
Kevin,
On 4/3/23 10:07, Kevin Huntly wrote:
> I'm launching with startup.sh and I have a setenv:
>
> https://pastebin.com/PKRgz2y1
>
> typeset JAVA_OPTS="-Xms4096m -Xmx4096m -Dfile.encoding=utf-8
-Djava.awt.headless=true";
You don't want this. You want:
typeset CATALINA_OPTS="-Xms4096m -Xmx4096m -Dfile.encoding=utf-8
-Djava.awt.headless=true";
(I'm not sure why you are bothering with "typeset". IMHO it adds nothing
but extra characters to the file and or someone so say "what the hell is
typset?")
CATALINA_OPTS are used when launching Tomcat. JAVA_OPTS are used when
launching any kind of JVM. An example is when shutting-down Tomcat. Your
JAVA_OPTS sets the heap size to 4 GiB, but you only need like 5MiB to
launch the "please shutdown" process, so a 4GiB heap for that is overkill.
-chris
> ________________________________________________
>
> Kevin Huntly
> Email: kmhuntly@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 <
> chris@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-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Logging
Posted by Christopher Schultz <ch...@christopherschultz.net>.
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: kmhuntly@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 <
> chris@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-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Logging
Posted by Kevin Huntly <km...@gmail.com>.
I'm launching with startup.sh and I have a setenv:
https://pastebin.com/PKRgz2y1
________________________________________________
Kevin Huntly
Email: kmhuntly@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 <
chris@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-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
Re: Logging
Posted by Christopher Schultz <ch...@christopherschultz.net>.
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org