how can you get multiple processes to log to the same file?
Answer / Survind Mani Tripathi
To make multiple processes log to the same file, you should use a RollingFileAppender or DailyRollingFileAppender in Log4j and configure them to roll over to a new file when the file size reaches a specified limit. Each appender will then write its logs into the same file.
| Is This Answer Correct ? | 0 Yes | 0 No |
Inside logger component what are the different log levels?
Explain why to use Apache Log4j?
what is the difference between Threshold and LevelRangeFilter in log4j?
why do you get multiple copies of the message in log file sometime?
what is Log4j?
what are the other support objects in Log4j?
what is the best way to migrate from java.util logging to log4j?
In log4j how can you log into the database?
how can you get multiple processes to log to the same file?
How log4j file is defined?
what does WARN and TRACE level indicates in log4j?
what are the different types of Appenders?