Yo,

Actually the Embedded version in 5.5.9 does not utilize the
Logger-objects (I believe they changed that in 5.5?), but no matter
since I managed to kind of get it working. As soon as I got it through
my thick skull that Tomcat was executing in the same JVM as my
application it was just a matter of creating a logger with the namespace
"apache.org" and give it a filehandler before invoking apache! God, I've
wasted some serious time on this! :)

Thanks for the help
/Magnus V

-----Original Message-----
From: Christopher Schultz [mailto:[EMAIL PROTECTED] 
Sent: den 12 september 2007 17:29
To: Tomcat Users List
Subject: Re: Embedded Apache Tomcat/5.5.9 outputting to
java.util.logging instead of console

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Filip,

The OP is using embedded TC, so there's no script.

> Magnus Vojbacke (KA/EAB) wrote:
>>> Are they inspecting catalina.out? If so, what will stop them from
>>>     
>> reading whatever /other/ logfile you choose?
>>
>> No, there _is_ no catalina.out anywhere in my tomcat folder or the 
>> child folders thereof. Everything is output to console. Probably 
>> should have mentioned that, since it's a little weird...

Are you using the Embedded class to embed Tomcat? Can you show us how
you are using it? The instance, the Embedded class constructor accepts a
Logger object that might be useful for this.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG6AXE9CaO5/Lv0PARAs8SAJ9poc/582bzKsYOeIR6/D3ZmzsqcQCfbkRd
ER15sNHsJD/+cP9VZbZR6c8=
=xv99
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe,
e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to