Re: Please help: JServ logging not solved yet

2000-04-20 Thread Edouard G. Parmelan
Andreas Tille wrote: > OK, I could try that but what about the claiming that there is no > method log() in GenericServlet? Looking into the definition of > GenericServlet in the Servlet 2.1 API doc and also in GenericServlet.java > i can see clearly its definition. Humm I can't see log() method

Re: Please help: JServ logging not solved yet

2000-04-20 Thread Andreas Tille
On Thu, 20 Apr 2000, Edouard G. Parmelan wrote: > > Found 3 semantic errors compiling "LogWriter.java": > > > > 5. public class LogWriter extends PrintStream > > <---> > > *** Error: No match was found for constructor "PrintStream()". > > Class P

Re: Please help: JServ logging not solved yet

2000-04-20 Thread Edouard G. Parmelan
Andreas Tille wrote: > public class LogWriter extends PrintStream > { > public static void SetLog(GenericServlet gs) { > System.setErr(gs.log); > } > } > > May be you immediately see the problem why the compiler fails but I'm > not experienced enough tocope with the following error messag

Re: Please help: JServ logging not solved yet

2000-04-20 Thread Andreas Tille
On Wed, 12 Apr 2000, Tom Tromey wrote: > So write a PrintStream subclass which calls log(), create it at > startup from a place where log() is visible, and call System.setOut > and System.setErr with it as the argument. Thanks for the hint. I tried import java.io.*; import javax.servlet.*; p

Re: Please help: JServ logging not solved yet

2000-04-12 Thread Tom Tromey
Andreas> OK, I've thought about that, but my problem (as unexperienced Andreas> Java programmer!) is, that I can't see the log() method in Andreas> the classes I use. So write a PrintStream subclass which calls log(), create it at startup from a place where log() is visible, and call System.setOut

Re: Please help: JServ logging not solved yet

2000-04-12 Thread Andreas Tille
On Wed, 12 Apr 2000, Stefan Gybas wrote: > So why don't you use log()? I tried to explain this into the mail to Eric Ravelomanants. May be it is bad design??? > > System.out(): nowhere ( is this normal ???) > > Yes, it has always been this way. If this was intended by the developers, does t

Re: Please help: JServ logging not solved yet

2000-04-12 Thread Andreas Tille
On Wed, 12 Apr 2000, Eric Ravelomanantsoa wrote: > Instead of System.out() and/or System.err() use the log() method of the > GenericServlet abstract class (your Servlet should be a subclass of it). This > will > output your stuff in the jserv.log file. OK, I've thought about that, but my problem

Re: Please help: JServ logging not solved yet

2000-04-12 Thread Andreas Tille
On Wed, 12 Apr 2000, Seth R Arnold wrote: > But, I can ask a question: rather than depend upon System.out and > System.err, why not open a brand new file, say /tmp/debugger, and send > all your debugging there? If you just need the debugging while writing > your servlets, this might be plenty. If

Re: Please help: JServ logging not solved yet

2000-04-12 Thread Stefan Gybas
On Wed, Apr 12, 2000 at 10:45:53AM +0200, Andreas Tille wrote: > log(): /var/log/jserv.log So why don't you use log()? > System.out(): nowhere ( is this normal ???) Yes, it has always been this way. > System.err(): nowhere (? formerly it was going to /var/log/apache/error.log >

Re: Please help: JServ logging not solved yet

2000-04-12 Thread Eric Ravelomanantsoa
Andreas Tille wrote: > In my system occueses the following: > > log(): /var/log/jserv.log > System.out(): nowhere ( is this normal ???) > System.err(): nowhere (? formerly it was going to /var/log/apache/error.log > but now it doesn't 8- ) > Instead of System.out()

Re: Please help: JServ logging not solved yet

2000-04-12 Thread Seth R Arnold
Hello Andreas, I am sorry, I don't run java servlets, nor do I know where to start. Nor do I know the answer to your question. But, I can ask a question: rather than depend upon System.out and System.err, why not open a brand new file, say /tmp/debugger, and send all your debugging there? If you

Please help: JServ logging not solved yet

2000-04-12 Thread Andreas Tille
Hello, unfortunately I was not yet able to solve my realy urgent problem with logging of JServ messages. Please could anyone who is running JServ please test the simple example I attached to this mail. It just prints a simple debugging line vie log()-method, System.out and System.err. I really

Re: JServ logging

2000-03-30 Thread Andreas Tille
On Thu, 30 Mar 2000, Stefan Gybas wrote: > I don't understand your main problem at all. What is wrong with using > apache's error log for jserv logging? You can use differnt error logs > for each virtual host, even for each directory - just use ErrorLog > in httpd.conf. The

Re: JServ logging

2000-03-30 Thread Stefan Gybas
which can be contaced by any web server that supports JServ's ajpv12 protocol (and Apache does this only if you use mod_jserv). I don't understand your main problem at all. What is wrong with using apache's error log for jserv logging? You can use differnt error logs for each virtual host, even for each directory - just use ErrorLog in httpd.conf. -- Stefan Gybas

Re: JServ logging

2000-03-29 Thread Robert Varga
On Wed, 29 Mar 2000, Andreas Tille wrote: > On Wed, 29 Mar 2000, Robert Varga wrote: > > > On Tue, 28 Mar 2000, Andreas Tille wrote: > > > > > On Mon, 27 Mar 2000, Peter M Kahle wrote: > > > > > > > In my /etc/apache/jserv.conf file, I have the following line, which > > > > seems > > > > to

Re: JServ logging

2000-03-29 Thread Andreas Tille
On Wed, 29 Mar 2000, Robert Varga wrote: > On Tue, 28 Mar 2000, Andreas Tille wrote: > > > On Mon, 27 Mar 2000, Peter M Kahle wrote: > > > > > In my /etc/apache/jserv.conf file, I have the following line, which seems > > > to be working: > > > ApJServLogFile /var/log/apache/jserv.log > > From my

Re: JServ logging

2000-03-29 Thread Robert Varga
On Tue, 28 Mar 2000, Andreas Tille wrote: > On Mon, 27 Mar 2000, Peter M Kahle wrote: > > > In my /etc/apache/jserv.conf file, I have the following line, which seems > > to be working: > > ApJServLogFile /var/log/apache/jserv.log > From my /etc/apache/jserv.conf: This is for non-standalone jse

Re: JServ logging

2000-03-28 Thread Andreas Tille
On Mon, 27 Mar 2000, Peter M Kahle wrote: > In my /etc/apache/jserv.conf file, I have the following line, which seems > to be working: > ApJServLogFile /var/log/apache/jserv.log >From my /etc/apache/jserv.conf: # Syntax: ApJServLogFile [filename] # Default: "./logs/mod_jserv.log" # Note: when set

JServ logging

2000-03-27 Thread Andreas Tille
Hello, after solving my serious problems with finding JDBC classses of JServ a smaler but ugly Problem remains: Jserv doesn't do the usual logging I expect it to do :-( I have set ApJServLogLevel info in /etc/jserv/jserv.conf to increase the level of the messages which should be logged (t