Hello sir: When server is started ,the log files print the output statement..ho开发者_如何学Cw can i print the log files in my own file?You can try using a properties file
Trying to use a pattern for filename in config such as: <appender name=\"FileAppender\" class=\"org.apache.log4j.FileAppender\">
I have appender like this. <appender name=\"Action.FileAppender\" class=\"ch.qos.logback.core.FileAppender\">
here is an easy question coming: i开发者_StackOverflow中文版 am trying to use log4net to log the infos on a file.i wrote
Is it possible to configure FileAppender in log4net to add new entries at the beginning of log file? Currently it is adding entries at the end and reading newest entries requires scrolling whole log d
I\'m using log4net in my project and there is one problem. The major function of the program takes a long time and I use logging to save information about it. I use FileAppender for saving log to file
I have seen many questions about the above topics but none that address this. I am trying to use log4j to log to a custom file in $CATALINA_BASE/logs/ directory.