tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hoa Phan <s50600...@gmail.com>
Subject Re: How do I set the logger org.apache.tomcat.util.scan.StandardJarScanner's level to WARN
Date Thu, 09 Mar 2017 21:48:57 GMT
Hi Chris,

I tried:

org.apache.tomcat.util.scan.StandardJarScanner.level=SERVERE //in the
logging.properties

-Dorg.apache.tomcat.util.scan.StandardJarScanner.level=SERVERE //on startup

org.apache.tomcat.util.scan.StandardJarScanner.level= SERVERE //as sysprops

But they didn't help either :(, StandardJarScanner still prints WARN msgs...


Any idea?


Thanks.

Hoa.

On Fri, Mar 10, 2017 at 4:26 AM, Christopher Schultz <
chris@christopherschultz.net> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Hoa,
>
> On 3/9/17 11:58 AM, Hoa Phan wrote:
> > I have tried:
> >
> > org.apache.tomcat.util.scan.StandardJarScanner.level = SERVERE //in
> > the logging.properties
> >
> > -Dorg.apache.tomcat.util.scan.StandardJarScanner=SERVERE //on
> > startup
> >
> > org.apache.tomcat.util.scan.StandardJarScanner=SERVER //as
> > sysprops
> >
> >
> > None of them works... That logger is still WARN enabled....
>
> Try this:
>
> org.apache.tomcat.util.scan.StandardJarScanner.level=SEVERE
>
> You were missing the ".level" at the end of the setting.
>
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Comment: GPGTools - http://gpgtools.org
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iQIcBAEBCAAGBQJYwZArAAoJEBzwKT+lPKRYoFsP/j+a8iikLatZQnkrd4laj1RA
> uXiTpylD2MC1v23avrziBzsaewJmRJYRAx5kqFpfgVciRIEjTJY5kaVKlnndqzzq
> eww9G4WRPir1OKSvY1XifXIjcSMCA7U5oV+tzYvWiohNB89FPg4FruOThOb3lmth
> Rm30/GhSqFNt3Fr0lm8YUaeB7A1Kmzf6YuLjsTbYUYBjCC1Z8/+J6Mn2BjkpEtQ1
> dX/ZL5oz+58A11Vfq1X6KTkxU7zYyYokZlgN1++ncqLmiLyIj0yq4kKbIESTf+8b
> +isMG5oIydnWbucQx0RxOzS802q6AKyO7vVVTjXXOxZm6stzJD586TCmP9AOUiD1
> Y40iS4Ft0vCt6XoCekpLon6pUsUMKQC65WWpEFtnwn9BBn6dQ6cmVpToUxXUwYjY
> by56Mtb48Aho2vu4MLFu+CEhlVapI64dbQaGVlD7ZXeMJJUX4/WeAxX16zt2Jj/q
> NdCcfScB2ytep3SSZg/WwVth+mSIYxZ6gNaPfTLuJ+HsjPUAdsKUPul0BKOUC7+O
> r6hwN8s1Ue9/b1X1bpCZxB41QbwgfAYoHNU0xjeBnJa3aa1brNFoc4Ii0RiLLrMi
> XQ570RyG9hry3NHG7AxmXReD3rkqpGSFlZnYC5nfy+iX+jjNP8tkWLgupRNzSaUc
> NVSFCpvceCZLhMNgV/fk
> =BvRN
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message