Has any WINDOWS user managed to get logging to work?  I've tried the various
combinations of swapping the words "log" and "trace" within the properties
file and in the name of the log file as suggested by some Linux users, but
have yet to find something that works.

Lots of things do get logged, just not my own specific calls to
getContext().log("...")

Here's the log part of my properties file:
------
log=true
log.file=C:\apachegr\ApJServ\logs\jserv.trace
log.timestamp=true
log.dateFormat=[dd/MM/yyyy HH:mm:ss:SSS zz]

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
log.channel.servletLog=true
---

and here's how I make a log statment in my Java source:

---
getServletContext().log("Dispatcher got a request");
---


What am I missing?  Should the name of my log file be given relative to "/"
rather than "C:/" ?  Should it be relative to the location of the servlet?
Should I use the word "trace" or "log" in my properties file?



--
John Brecht
Department of Physics and Astronomy
Michigan State University
[EMAIL PROTECTED]



----------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to