Oops just noticed I set the subject wrong. I meant to set it to SEVERE to get rid of the FileNotFoundException all over the places. I tried to overwrite logging.properties in tomcat itself and in the webapp with the content:
handlers = java.util.logging.ConsoleHandler ############################################################ # Handler specific properties. # Describes specific configuration info for Handlers. ############################################################ java.util.logging.ConsoleHandler.level = SEVERE java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter ############################################################ # Facility specific properties. # Provides extra control for each logger. ############################################################ org.apache.catalina.level = SEVERE org.apache.catalina.startup.HostConfig.level = SEVERE org.apache.catalina.session.ManagerBase.level = SEVERE org.apache.tomcat.util.scan.StandardJarScanner.level = SEVERE Still I couldn't get rid of the WARN for FNFException.... On Fri, Mar 10, 2017 at 11:31 AM, Hoa Phan <s50600...@gmail.com> wrote: > Unfortunately it's still the same. > When I tried to debug it the logger tomcat is using is DirectJDKLog > > Is org.apache.tomcat.util.scan.StandardJarScanner.level=SEVERE the right > way to turn off WARNING logging ? > > On Fri, Mar 10, 2017 at 10:34 AM, Hoa Phan <s50600...@gmail.com> wrote: > >> Ouch!! My bad... sorry Chris. >> >> On Fri, Mar 10, 2017 at 10:31 AM, calder <calder....@gmail.com> wrote: >> >>> On Thu, Mar 9, 2017 at 9:48 PM, Hoa Phan <s50600...@gmail.com> wrote: >>> > 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. >>> >>> Is "SEVERE" spelled "SERVERE" (as written above) in the properties file? >>> >>> If yes, then that's the issue >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >>> For additional commands, e-mail: users-h...@tomcat.apache.org >>> >>> >> >