dCache / dcache

dCache - a system for storing and retrieving huge amounts of data, distributed among a large number of heterogenous server nodes, under a single virtual filesystem tree with a variety of standard access methods
https://dcache.org
291 stars 136 forks source link

dcache on start cleates lot of unused log files #4032

Open kofemann opened 6 years ago

kofemann commented 6 years ago

On s start each domain creates a bunch of log files which makes no sense. For example:

/var/log/dcache/cleaner.events
/var/log/dcache/cleaner.access
/var/log/dcache/cleaner.resilience
/var/log/dcache/cleaner.zookeeper
/var/log/dcache/cleaner.log

Domain which run only cleaner will never populate .access or .resilience files. The default for such files must be that they created when used.

paulmillar commented 6 years ago

:+1: However, this may be somewhat awkward to fix, see LOGBACK-202.

alrossi commented 6 years ago

Perhaps we should adopt the LazyRollingFileAppender solution suggested by Alessio Pollero - 05/Dec/12 11:29 AM

?