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

Jonathan,

I know you've posted before, but could you remind us of your TC version?

Jonathan Mast wrote:
| <Context path="/foo/bar" ....>
|
| Specifically, how do I reference this webapp in the logging.properties
| file?  For contexts with just a single slash in their path:
|
| <Context path="/blah" ...>

[snip]

|
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/blah].handlers
| = 6blah.org.apache.juli.FileHandler
|
| And it has worked fine.
|
| But how should i reference the Context whose path is "/foo/bar" ?

I would imagine that

org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/foo/bar].handlers
= 7foobar.org.apache.juli.FileHandler

would work (including the configuration for the "7foobar..." handler.

If you are getting these messages already in a log file, they should be
including the name of the logger already (which includes the magic
incantation you'll need to use for the part before ".handlers" in your
logging.properties configuration.

Does this really capture use of System.out and System.err? Cool! I
didn't know that!

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

iEYEARECAAYFAkhbvboACgkQ9CaO5/Lv0PDOqQCfbvKJQ1G8Nvbj8hxS2bgRHmLP
mC4AniV0lMb1aj+5JMhejzILwlkgKAi2
=/9nZ
-----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]

Reply via email to