add
log.channel.servletLog=true
to jserv.properties.
Jeff Meister wrote:
> I am using the GenericServlet.log(String ) function with Jserv and I
> cannot locate where the output is going. I am assuming that output from
> the log function should go to the trace/log file specified in the
> jserv.properties file. I have exception tracing enabled and exceptions
> are being written to the file. Am I looking in the right file for my
> output?
>
> Here is the section of my properties file relate to logging.
>
> # Logging parameters
> ####################
>
> # Enable/disable JServ tracing, used for debugging and development.
> # WARNING: tracing is a very costy operation in term of performance and
> # its disabled by default. Note that trace logs may become really big
> # since each servlet connection may generate many Kb of log.
> # Syntax: log=[true,false] (boolean)
> # Default: false
> log=true
>
> # Set the name of the trace/log file. To avoid possible confusion about
>
> # the location of this file, an absolute pathname is recommended.
> # Syntax: log.file=<log file name> (String)
> # Default: NONE
> log.file=/web/logs/jserv.trace
>
> # Enable the timestamp before the log message
> # Syntax: log.timestamp=[true,false] (boolean)
> # Default: true
> log.timestamp=true
>
> # Use the given string as a data format
> # (see java.text.SimpleDateFormat for the list of options)
> # Syntax: log.dateFormat=(String)
> # Default: [dd/MM/yyyy HH:mm:ss:SSS zz]
> log.dateFormat=[dd/MM/yyyy HH:mm:ss:SSS zz]
>
> # Enable/disable channels, each logging different part of the code
> # self-explained by their names.
> # Syntax: log.channel.<channel name>=[true,false] (boolean)
> # Default: false
> #log.channel.init=true
> #log.channel.terminate=true
> #log.channel.serviceRequest=true
> #log.channel.authentication=true
> #log.channel.requestData=true
> #log.channel.responseHeaders=true
> #log.channel.signal=true
> log.channel.exceptionTracing=true
> #log.channel.servletManager=true
>
>
>
>
>
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> READ THE FAQ!!!! <http://java.apache.org/faq/>
> Archives and Other: <http://java.apache.org/main/mail.html/>
> Problems?: [EMAIL PROTECTED]
>
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
READ THE FAQ!!!! <http://java.apache.org/faq/>
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]