com.eviware.soapui.resources.conf.soapui-log4j.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of maven-soapui-extension-plugin Show documentation
Show all versions of maven-soapui-extension-plugin Show documentation
This plugin adds new features and bug fixes to SmartBear soapui-pro-maven-plugin/soapui-maven-plugin.
<?xml version="1.0" encoding="UTF-8"?> <!-- ~ Copyright 2012 Thomas Bouffard (redfish4ktc) ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, ~ software distributed under the License is distributed on an ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY ~ KIND, either express or implied. See the License for the ~ specific language governing permissions and limitations ~ under the License. --> <!-- This configuration file has been taken from soapui-4.0.0.jar --> <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> <!-- ===================================================================== --> <!-- --> <!-- This is an example of a Log4j XML configuration file. --> <!-- --> <!-- ===================================================================== --> <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false"> <!-- =================== --> <!-- Appenders --> <!-- =================== --> <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender"> <errorHandler class="org.apache.log4j.helpers.OnlyOnceErrorHandler"/> <param name="Target" value="System.out"/> <param name="Threshold" value="DEBUG"/> <layout class="org.apache.log4j.PatternLayout"> <!-- The default pattern: Date Priority [Category] Message\n --> <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/> </layout> </appender> <appender name="FILE" class="org.apache.log4j.RollingFileAppender"> <errorHandler class="org.apache.log4j.helpers.OnlyOnceErrorHandler"/> <param name="File" value="${soapui.logroot}soapui.log"/> <param name="Threshold" value="INFO"/> <param name="Append" value="false"/> <param name="MaxFileSize" value="5000KB"/> <param name="MaxBackupIndex" value="50"/> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="%d %-5p [%c{1}] %m%n"/> </layout> </appender> <appender name="ERRORFILE" class="org.apache.log4j.RollingFileAppender"> <errorHandler class="org.apache.log4j.helpers.OnlyOnceErrorHandler"/> <param name="File" value="${soapui.logroot}soapui-errors.log"/> <param name="Threshold" value="INFO"/> <param name="Append" value="true"/> <param name="MaxFileSize" value="5000KB"/> <param name="MaxBackupIndex" value="50"/> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="%d %-5p [%c{1}] %m%n"/> </layout> </appender> <appender name="SOAPUI" class="com.eviware.soapui.support.log.SoapUIAppender"> <errorHandler class="org.apache.log4j.helpers.OnlyOnceErrorHandler"/> </appender> <appender name="GLOBAL_GROOVY_LOG" class="org.apache.log4j.FileAppender"> <errorHandler class="org.apache.log4j.helpers.OnlyOnceErrorHandler"/> <param name="File" value="${soapui.logroot}global-groovy.log"/> <param name="Threshold" value="DEBUG"/> <param name="Append" value="true"/> <!-- <param name="MaxFileSize" value="5000KB"/> <param name="MaxBackupIndex" value="50"/> --> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="%d %-5p [%c{1}] %m%n"/> </layout> </appender> <logger name="groovy.log"> <level value="INFO" /> <appender-ref ref="GLOBAL_GROOVY_LOG" /> </logger> <!-- =============== --> <!-- Loggers --> <!-- =============== --> <logger name="com.eviware.soapui"> <level value="DEBUG" /> <appender-ref ref="SOAPUI"/> <appender-ref ref="CONSOLE"/> </logger> <!-- ######## CUSTOMIZED --> <!-- This is needed because we now use custom runners --> <!-- So also activate logs for these runners to display the same messages than with original runners --> <!-- Finally, do not restrict additional logs for runners as we want to log all custom actions done --> <logger name="org.ktc.soapui.maven.extension.impl"> <level value="INFO" /> <appender-ref ref="SOAPUI"/> <appender-ref ref="CONSOLE"/> </logger> <!-- ######## END OF CUSTOMIZED --> <logger name="soapui.errorlog"> <level value="DEBUG" /> <appender-ref ref="ERRORFILE"/> </logger> <logger name="org.apache.commons.httpclient"> <level value="ERROR"/> <appender-ref ref="CONSOLE"/> </logger> <logger name="com.eviware.soapui.impl.wsdl.support.http.SoapUIMultiThreadedHttpConnectionManager"> <level value="ERROR"/> <appender-ref ref="ERRORFILE"/> </logger> <logger name="com.eviware.soapui.impl.wsdl.WsdlSubmit"> <level value="ERROR" /> <appender-ref ref="ERRORFILE"/> </logger> <root> <priority value="INFO" /> <appender-ref ref="FILE"/> </root> </log4j:configuration>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy