[logback-user] Best strategy for centralized logs in a multitenant environment
xavi.beumala at gmail.com
Mon Dec 26 10:33:10 CET 2011
I'm working on a multitenant application where I'd like to have different
log files for each customer. I've been looking at the SiftingAppender and
it seems to perfectly fit my needs.
The application will run on a sessionless cluster, there isn't any kind of
shard, each customer request can run on any node.
Ideally I'd like to have a centralized log file for each customer and have
the ability to hot change its configuraiton. What configuration would you
- DB based appender?
- File based appender running prudent mode?
- I've seen the scan="true" option to automatically reload the logging
configuration. Ideally I'm looking for an option where automatically a
configuration file could be hot plugged per tenant / customer. Is there any
option so that scan=true checks a directory hierarchy?
Many thanks for your help and recomendations. Much appreciated
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Logback-user