[LOG4J 2] SocketAppender and Async Logging

2013-10-22 Thread Andrew Berman
Hello, I was testing a SocketAppender with a reconnection delay and set all of the loggers to async. I then turned off the server receiving the socket connection to test the reconnection delay and the appender is not retrying the connection after the delay. As a result, I lose the log data that

[log4j2] Custom Layout Configuration Help

2013-08-02 Thread Andrew Berman
Hello, I've written a custom layout and a helper class. It all works great, however, my question has to do with how to interpolate the variables inside of an attribute in the configuration. For example: What I'm trying to figure out is how I can get the $[sys:mySysProperty

Custom Layout Configuration Help using Log4j2-beta7

2013-07-10 Thread Andrew Berman
Hello, I've written a custom layout and a helper class. It all works great, however, my question has to do with how to interpolate the variables inside of an attribute in the configuration. For example: What I'm trying to figure out is how I can get the $[sys:mySysProperty