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: bytes, chars, and BigIntegers, oh my!

2000-04-12 Thread Per Bothner
Seth R Arnold <[EMAIL PROTECTED]> writes: > My second question -- some of the methods (such as > String.getBytes(String enc)) take an encoding method -- and I haven't > found documentation on these guys anywhere. I imagine "ascii" "ebcdic" > "unicode" would be the names of encoding methods I could