Automatically switch of Log level from INFO to FINER
Anand Kumar Singh
posted 6 years ago
I have a problem with logger in my application. I have implemented Java. Api java.util.logging. for logging . I set my log level to INFO and logfile appender everything is working fine.
There is one scheduler which run every night , after running that scheduler the log lever automatically switch to FINE or sometime FINER. Because of that its generation lots of unnecessary FINE or FINERlog files.
I debug a lot but didn’t get any solution, can anyone please suggest me any way to solve this problem?
Below is a sample of log file where log level is getting change form INFO to FINER.