This topic has been archived. It cannot be replied.
-
工作学习 / 专业技术讨论 / 有关log4j的问题.前辈门帮忙顶一下啊.在使用DailyRollingFileAppender时,如何能在文件名上让系统自动识别并加上server的名称呢? example: current log file name is mylog.log, I want the generated dailyrolling file name to be servername_mylog.log.yyyy.MM.dd . How to identify server name during run time ? Thanks.
-rosella(rosa);
2006-9-19
{267}
(#3216860@0)