Re: Tomcat 5.0 Console Redirecting

Rajamani M <[email protected]> Fri, 3 Dec 2004 15:12:27 +0530
Newsgroups gmane.comp.java.sun.servlet
Message-ID <[email protected]>
Hai,

Thanks for your help.
I have changed in the server.xml.
But I didn't get the console.
My pbm is, If I open the Tomcat 5.0 by the startup.bat, it showing all the
logs and outputs in the console.
If I tried to run as a service by Monitor Tomcat, the logs are going to log
file.
I want to run by Tomcat as a  service but I also want to see the console.
Is it possible?!

Regards
Rajamani M
  -----Original Message-----
  From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[email protected]]On Behalf Of Milind
Patil
  Sent: Friday, July 25, 2003 10:24 AM
  To: [email protected]
  Subject: Re: Tomcat 5.0 Console Redirecting



  Hi,

  You can configure logger class in a server.xml for console logging,

          <Logger className="org.apache.catalina.logger.FileLogger"
prefix="localhost_log." timestamp="true"/>
  or
          <Logger className="org.apache.catalina.logger.SystemErrLogger"
timestamp="true"/>
  or
          <Logger className="org.apache.catalina.logger.SystemOutLogger"
timestamp="true"/>


  Milind Bhaskar Patil
  Tata Consultancy Services Limited
  Mailto: [email protected]
  Website: http://www.tcs.com DISCLAIMER: The information contained in this
message is intended only and solely for the addressed individual or entity
indicated in this message and for the exclusive use of the said addressed
individual or entity indicated in this message (or responsible for delivery
of the message to such person) and may contain legally privileged and
confidential information belonging to Tata Consultancy Services Limited. It
must not be printed, read, copied, disclosed, forwarded, distributed or used
(in whatsoever manner) by any person other than the addressee. Unauthorized
use, disclosure or copying is strictly prohibited and may constitute
unlawful act and can possibly attract legal action, civil and/or criminal.
The contents of this message need not necessarily reflect or endorse the
views of Tata Consultancy Services limited on any subject matter.
        Any action taken or omitted to be taken based on this message is
entirely at your risk and neither the originator of this message nor Tata
Consultancy Services Limited takes any responsibility or liability towards
the same. Opinions, conclusions and any other information contained in this
message that do not relate to the official business of Tata Consultancy
Services limited shall be understood as neither given nor endorsed by Tata
Consultancy Services Limited or any affiliate of Tata Consultancy Services
Limited. If you have received this message in error, you should destroy this
message and may please notify the sender by e-mail.
        Thank you.


___________________________________________________________________________
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff SERVLET-INTEREST".
  Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html


___________________________________________________________________________
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html