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 <[email protected]> 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 <[email protected]> wrote: > >> Ouch!! My bad... sorry Chris. >> >> On Fri, Mar 10, 2017 at 10:31 AM, calder <[email protected]> wrote: >> >>> On Thu, Mar 9, 2017 at 9:48 PM, Hoa Phan <[email protected]> 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: [email protected] >>> For additional commands, e-mail: [email protected] >>> >>> >> >
