Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


how can you get multiple processes to log to the same file?



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

Post New Answer

More Apache Log4j Interview Questions

Explain why to use Apache Log4j?

1 Answers  


what is package level logging in log4j?

1 Answers  


what are Appenders in Log4j?

1 Answers  


Explain whether log4j is a thread safe?

1 Answers  


what is the best way to migrate from java.util logging to log4j?

1 Answers  


what are the logging methods provided by logger class?

1 Answers  


Explain whether a log output format can be customized?

1 Answers  


what are the system properties checked by log4j?

1 Answers  


what is Log4j?

1 Answers  


what does .class mean in log4j context?

1 Answers  


what are the other support objects in Log4j?

1 Answers  


what is layouts in log4j?

1 Answers  


Categories