System.out.println() and System.err in Webserver

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Pavithra MK
    New Member
    • Dec 2006
    • 2

    System.out.println() and System.err in Webserver

    Hi,
    I am working on a webserver, i am facing a problem in this, while running a servlet which includes System.out.prin tln() and System.err(). In the webserver two files are there in log directory named servlet.log and servlet_err.log . servlet.log files should contain output from System.out.prin tln() and servlet_err.log file should contain output from System.err() but when i am running a servlet application with SOP and sytem.err both the output is going to the file servlet.log, which is a wrong behaviour. i want to know do i need to configure the web server or some where else.
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Originally posted by Pavithra MK
    Hi,
    I am working on a webserver, i am facing a problem in this, while running a servlet which includes System.out.prin tln() and System.err(). In the webserver two files are there in log directory named servlet.log and servlet_err.log . servlet.log files should contain output from System.out.prin tln() and servlet_err.log file should contain output from System.err() but when i am running a servlet application with SOP and sytem.err both the output is going to the file servlet.log, which is a wrong behaviour. i want to know do i need to configure the web server or some where else.
    Maybe this thread has what you're looking for.

    Comment

    Working...