title: Warning in System.out when an error is logged in a custom log file
body: <p>currently we're running quite a few applications on our WebSphere Portal Server, and most of the have their own log-file, so the System.out won't be too overloaded. However, once an error happens in an application it's easy to miss. If an errors is logged, I would like to get a warning in the System.out with a notice to take a look at the related log-file. For now I did this by wrapping the log4j logger into a class with equal methods to the logger-class, and it just delegates all calls to the logger. only when the error- and fatal-messages methods are called, the file to log at is retrieved from the logger, and a warning is written to the System.out. This is working fine, except that now the LoggerWrapper is the caller to the logger-methods, und thus is written to the log files as the caller, not the original caller.</p>
  
  <p>Is there any way around this, maybe even with a completely different approach? I would like to avoid having to rewrite all exception-handlers to add the message to the System.out themselves.</p>
  
  <p>Christian</p>