Skip to content

Instantly share code, notes, and snippets.

@yamanyar
Created April 3, 2012 12:35
Show Gist options
  • Save yamanyar/2291624 to your computer and use it in GitHub Desktop.
Save yamanyar/2291624 to your computer and use it in GitHub Desktop.
Sample properties file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
<!-- Appenders -->
<appender name="console" class="org.apache.log4j.ConsoleAppender">
<param name="Target" value="System.out"/>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-5p: %c - %m%n"/>
</layout>
</appender>
<!-- Let this be debug in order to see all web service request/responses-->
<logger name="org.springframework.ws.server.endpoint.interceptor.PayloadLoggingInterceptor">
<level value="debug"/>
</logger>
<!-- Root Logger -->
<root>
<priority value="warn"/>
<appender-ref ref="console"/>
</root>
</log4j:configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment