阅读背景:

从多个应用程序/进程记录到一个日志文件。

来源:互联网 

Our app servers (weblogic) all use log4j to log to the same file on a network share. On top of this we have all web apps in a managed server logging errors to a common error.log. I can't imagine this is a good idea but wanted to hear from some pros. I know that each web app has its own classloader, so any thread synchronization only occurs within the app. So what happens when multiple processes start converging on a single log file? Can we expect interspersed log statements? Performance problems? What about multiple web apps logging to a common log file? The environment is Solaris.Our app servers (weblogic) all use log4j to log




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

分享到: