阅读背景:

您是否在Log4j中看到过根据NDC分离文件的appender?

来源:互联网 

We have only a very small number of customers (fewer than 50) and we would like each one to have its own separate log file into which all of its server side logging info goes. I know you could use NDC and filters to direct log statements to different files using the standard appenders in Log4j but that would require quite a bit more setup (to create loggers for all existing customers) and it wouldn't automatically accomodate the addition of a new customer into the system.We have only a very small number of customers (




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: