简体   繁体   中英

Auto Delete JULI Log files

While using Tomcat in my application, when i import file from a location and stop my application in the middle, JULI log files are generated. How to auto delete them as they just get created and are not destroyed.

Is there any configuration to do so?

It depends on what you want to do. It is obviously possible to disable any logging in JULI. JULI is an implementation of Java util Logging, see here for the details. This is configured in the logging.properties file located in the conf directory of Tomcat. But only your applications calls to Java util Logging are responsible for JULI logs.

I would suggest that your problem is in the application log calls, not in the configuration anyway.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM