-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Mark,

On 2/12/19 05:51, Mark Thomas wrote:
> On 12/02/2019 09:24, Sashidharan Ramamurthy wrote:
>> Hi Tomcat User group,
>> 
>> In the "Logging In Tomcat" page, in 8.0 version, there is a link
>> and section detailing how to use Apache log4j instead of
>> "java.util.logging"
>> 
>> But the same content is not visible in 8.5 version.
>> 
>> My query is whether from 8.5 or above, is the capability of using
>> apache log4j disabled and we have to use only JULI? Also, there
>> is no tomcat-juli-adapters library in extras of apache 8.5
>> version.
>> 
>> We are using tomcat 8.5.33 in our machines.
>> 
>> Kindly answer this please!! Have removed the links where
>> documentation sites are mentioned..
> 
> Apache log4j 1.x is not longer supported so the adapters and
> associated documentation have been removed from 8.5.x onwards.
> 
> If you wish to use Apache log4j 2.x then you should be able to use
> the log4j / java.util.logging bridge although that does beg the
> question why?
> 
> Applications (as they always have been) are free to configure any 
> logging mechanism they wish. Why do you want to change the
> framework Tomcat uses for its internal logging?

Maybe so you can use syslog to aggregate all your logs? IFAIK, there
is not a good way to send JULI logging to syslog, but log4j supports it.

- -chris
-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlxi1/0ACgkQHPApP6U8
pFjKYhAAgkSOECLgPBximdZJack8Kaf/aStIjhZZrPazhj4BInt0kt6QFfYzPE08
uZiYUs4+G9j+Wv2yGcF8IPtDzdcL+dsDZEuJ/saNVITLeiNJlndJvjJyRNCQZrA8
R5UKzKcgnDeBHMY/phn/h8/josaaPO9jFXx+UwvRwDtQ+elu5n08sOMDJNvi+lWS
B8wjQJGGl25XZo536kqCHjmuObhlVliz2Og53u8o31lN25grCh/5N/FsS6ccoSth
loJLjsyQ4kEYSAk9TD+oMMbJNx1Z5obtY4E0FZMspnS+Y1k5NnSTKLbV+yQtlORx
XY2V+Qc18Tfk1cbcgwnWkBVvpPfkGPpksYxFix/lPt/b8E3V5q7byXBKbAtCeAlG
2ejb48wSY0UOrKpJQcFmm85OrQKKoPa9Juv7V28hRfgEasvHjiJZB59DrNRBkWAl
P9zVYy/eSQTof+FJm37kO9u8rXoU6uV1oNeN/v6QR1xpQyvngWmi3MpLVP3n/A3k
/E1bNP10RrTBtlk9RHWhhVdS/2tjkBdCwUcgAq2+oZMyUXdEyaBjtQIsK3R+GuXI
KnPB2Rp1upLo5SgtGNfgdX+NMVF54nEY8b/AxUXsYMugUbFBk3PcQk6ARBkkAcbK
urt5hAy9T/vImQ8+0CTImTkG9NLsodjVMNIPQkBxf7qJ5tpDThw=
=AhDx
-----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