I had the same questions a few days ago, so here´s the answer I got (and
it works):
------------
Set
log.file=/var/log/jserv.trace
and make sure it is writable by the user as whom apache is run, e.g.,
touch /var/log/jserv.trace
chown httpd:httpd /var/log/jserv.trace
Then look in /var/log/jserv.trace to get the extra errors.
(Use the path to your log files instead of "/var/log".)
You'll also need to enable the servlet log channel by adding
log.channel.servletLog=true
to your jserv properties file. The messages should then show up in the
jserv.trace file (they do for me).
------------
[EMAIL PROTECTED] wrote:
>
> On Thu, 8 Apr 1999, jon * wrote:
>
> > > Works with "trace" substituted for log.
> >
> > you are using an older version of apache jserv. all "lastest" versions use
> > the "log" and NOT trace.
> >
> > -jon
> >
>
> I have the latest version of jserv which uses log and not trace.
> But calls to log config.getServletContext().log("Log this"); do not
> work. Not only do they not work, but enabling loggin in jserv.properties
> with log=true makes working servlets break with the following sent
> to the log:
>
> [08/04/1999 12:11:46:575] (EMERGENCY) ajp11: can not connect to host 127.0.0.1:8007
>
> It sounds like others are experiencing problems getting logging to
> work - I am running redhat5.2 and the latest jserv.
>
> Any ideas?
>
> Thanks in advance.
>
> ----------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Archives and Other: <http://java.apache.org/main/mail.html/>
> Problems?: [EMAIL PROTECTED]
--
Guenther Wieser
creative-it/Guenther Wieser Software KEG
Student of Telematik at Graz University of Technology
http://www.creative-it.com mailto:[EMAIL PROTECTED]
-> In A World Without Walls And Fences, Who Needs Windows And Gates? <-
----------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]