Please clarify the following for me-
(1) I want to use a rolling file appender with Log4j, so that the log messages are stored into a single log file....Also I want that the log file should be passed as parameter during program runtime.
(2) What all classes have to be imported to allow the use of log file as per point 1.
(3) The application in which I want to use log4j has multiple different classes... I want to log all messages to the same log file... Is it possible to use the same log file across different java classes? How do I invoke a logger to write data to the same log file (same
file to which another class in code is writing the log messages to)?
I would appreciate it if you can post a working code sample that accomplishes the above.