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

Roshni,

On 6/23/2011 4:49 AM, Roshni Basu wrote:
> Do i need to make any changes in the logging.properties file?

That's typically how logging is configured.

> I tried making everything from FINE to WARNING and also i tried adding
> org.apache.catalina.level=WARNING in the logging.properties, it somehow
> worked.

Did you read the documentation? The file itself is documented, somewhat,
also.

Remember that each logger can be configured differently. So, if you
configure one logger to be level=WARN, other loggers may default to
something else.

> But Is this the way it should behave or we need to make changes in
> my java code as well using that LogManager etc. Could you help me?

I would do this at the configuration-file level. As Konstantin points
out, webapps aren't allowed to change the logging configuration for the
server. That would be a security problem, don't you think?

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

iEYEARECAAYFAk4DVIYACgkQ9CaO5/Lv0PDi2gCfbmaX2Y0yud3YXk16Y/db79Lr
ZkQAn18f6dSmxGcMLM0YnZeUjcQRic+f
=Ilci
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to