From: "Step" <[EMAIL PROTECTED]>
> I want to change my RollingFileAppender's log file at runtime, 
> how can I do it.

                    ACCESS.setFile(validLogDir+ACCESS_FILENAME);
                    ACCESS.setMaxFileSize(MAX_FILE_SIZE);
                    ACCESS.setMaxBackupIndex(MAX_BACKUP_FILES);
                    ACCESS.setEncoding(FILE_ENCODING);
                    ACCESS.activateOptions();

> I want the logs for each day to go into a different file, like
> log_27_feb_2002.log. how is this done?

Look at DailyRollingFileAppender




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to