Author: jaz
Date: Tue May 8 19:25:12 2007
New Revision: 536395
URL:
http://svn.apache.org/viewvc?view=rev&rev=536395Log:
added socket logger (for Chainsaw)
Modified:
ofbiz/trunk/framework/base/config/log4j.xml
Modified: ofbiz/trunk/framework/base/config/log4j.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/config/log4j.xml?view=diff&rev=536395&r1=536394&r2=536395==============================================================================
--- ofbiz/trunk/framework/base/config/log4j.xml (original)
+++ ofbiz/trunk/framework/base/config/log4j.xml Tue May 8 19:25:12 2007
@@ -35,6 +35,7 @@
<appender-ref ref="ofbiz-html"/>
<appender-ref ref="debug"/>
<appender-ref ref="error"/>
+ <appender-ref ref="socket"/>
<!-- <appender-ref ref="email"/> -->
</appender>
@@ -95,6 +96,11 @@
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d (%t) [%24F:%-3L:%-5p]%x %m%n"/>
</layout>
+ </appender>
+
+ <!-- chainsaw remote socket log monitor -->
+ <appender name="socket" class="org.apache.log4j.net.SocketHubAppender">
+ <param name="port" value="4445"/>
</appender>
<!-- fatal error SMTP notification -->