|
|
|
Log4j: DailyRollingFileAppender проблема
|
|||
|---|---|---|---|
|
#18+
Использую log4j, почему-то к имени файла не прибавляется дата. Коллеги, где ошибка? log4j.xml Код: plaintext 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. Сервлет: Код: plaintext 1. 2. 3. 4. 5. 6. 7. 8. Код: plaintext 1. 2. Где ошибка? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 23.05.2006, 14:31 |
|
||
|
Log4j: DailyRollingFileAppender проблема
|
|||
|---|---|---|---|
|
#18+
По-моему так и должно быть. The formatted version of the date pattern is used as the suffix for the rolled file name . For example, if the File option is set to /foo/bar.log and the DatePattern set to '.'yyyy-MM-dd, then at midnight 2002-06-19, the file /foo/bar.log will be copied to /foo/bar.log.2002-06-19 and logging during 2001-06-20 will continue in /foo/bar.log until it is in turn rolled over the next day ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 23.05.2006, 16:19 |
|
||
|
|

start [/forum/topic.php?fid=59&fpage=724&tid=2149159]: |
0ms |
get settings: |
7ms |
get forum list: |
15ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
49ms |
get topic data: |
8ms |
get forum data: |
2ms |
get page messages: |
27ms |
get tp. blocked users: |
1ms |
| others: | 251ms |
| total: | 368ms |

| 0 / 0 |
