Questions tagged as 'logging'

1
answer

How to use LOGGER in java

I configured Logger in my main class. public static final Logger LOGGER = Logger.getLogger(DashBoard.class.getName()); and I'm using it this way: LOGGER.log(Level.SEVERE, "Error occur in FileHandler.", exception); But now I want...
asked by 08.02.2018 / 11:14
1
answer

Erase log files dated after a week using log4j

In my application I use the log4j library to generate system-wide logs. It is working correctly, I use the following settings: Direct log messages to a log file log4j.appender.file = org.apache.log4j.DailyRollingFileAppender log4j.appender...
asked by 05.02.2014 / 14:42
1
answer

Permission denied - Logging

I have implemented Logging of python into several Flask projects successfully. But when I tried to re-implement Logging in a project it gives the following error:IOError: [Errno 13] Permission denied . To try to solve the problem...
asked by 20.10.2015 / 18:46