RE: Runaway catalina.out logging

2007-05-09 Thread Andy
ects the stderr of the ls command into the pipe. The second 2>&1 redirects the output of pr to the file named Out. The syntax for redirecting stderr to a pipe is a little odd, but in order to get this right it needs to be something like this. -Original Message----- From: An

RE: Runaway catalina.out logging

2007-05-09 Thread Fargusson.Alan
07 7:11 PM To: Tomcat Users List Subject: Re: Runaway catalina.out logging Filip, This works, thanks, although I am still not sure why the original failed. Too many players in a single command... Regards, Andy On Wed, 9 May 2007, Filip Hanik - Dev Lists wrote: > change > | /u00/tom

Re: Runaway catalina.out logging

2007-05-08 Thread Filip Hanik - Dev Lists
Andy wrote: Filip, This works, thanks, although I am still not sure why the original failed. Too many players in a single command... the original failed cause | only pipes stdout, while tomcat is writing a bunch of crap to stderr Filip Regards, Andy On Wed, 9 May 2007, Filip Hanik - Dev

Re: Runaway catalina.out logging

2007-05-08 Thread Andy
Filip, This works, thanks, although I am still not sure why the original failed. Too many players in a single command... Regards, Andy On Wed, 9 May 2007, Filip Hanik - Dev Lists wrote: change | /u00/tomcat/bin/logger "$CATALINA_BASE"/logs/catalina 2>&1 & to 2>&1 | /u00/tomcat/bi

Re: Runaway catalina.out logging

2007-05-08 Thread Filip Hanik - Dev Lists
change | /u00/tomcat/bin/logger "$CATALINA_BASE"/logs/catalina 2>&1 & to 2>&1 | /u00/tomcat/bin/logger "$CATALINA_BASE"/logs/catalina 2>&1 & ie, redirect stderr into stdout before passing it into the logger Filip Andy wrote: This is a correction of the Subject: which I failed to set

Re: Runaway catalina.out logging

2007-05-08 Thread Andy
Martin, This is from catalina.sh, since it is Unix: JAVA_OPTS="$JAVA_OPTS "-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager" "-Djava.util.logging.config.file="$CATALINA_BASE/conf/logging.properties" As you see, it is functionally identical to your settings. Regards, Andy

Re: Runaway catalina.out logging

2007-05-08 Thread Martin Gainty
Andy- in your startup file $CATALINA_HOME/bin/catalina.bat please confirm java.util.logging.config.file as in this example set JAVA_OPTS=%JAVA_OPTS% -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file="%CATALINA_BASE%\conf\logging.properties" then