All Downloads are FREE. Search and download functionalities are using the official Maven repository.

.cx-ws-fs-agent.20.0.7.source-code.logback-FSA.xml Maven / Gradle / Ivy

There is a newer version: 24.2.3
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<configuration debug="false">
	<!-- setting this property here removed the logback's own status messages from the start of the log on the console -->
	<statusListener class="ch.qos.logback.core.status.NopStatusListener" />

	<define name="collectLoggerName" class="org.whitesource.fs.LogMapDefiner" >
		<propertyLookupKey>loggerName</propertyLookupKey>
	</define>

	<define name="collectAppenderName" class="org.whitesource.fs.LogMapDefiner" >
		<propertyLookupKey>appenderName</propertyLookupKey>
	</define>

	<contextListener class="ch.qos.logback.classic.jul.LevelChangePropagator">
    	<resetJUL>true</resetJUL>
  	</contextListener>

	<appender name="console" class="ch.qos.logback.core.ConsoleAppender" >
		<encoder>
			<pattern>%d{"YYYY-MM-dd HH:mm:ss"} %-5level - %msg%n</pattern>
		</encoder>
	</appender>

	<appender name="${collectAppenderName}" class="org.whitesource.fs.LogMapAppender">
		<append>false</append>
		<encoder>
			<pattern>%d{"YYYY-MM-dd HH:mm:ss"} %-5level - %msg%n</pattern>
		</encoder>
	</appender>

	<logger name="com.wss" level="debug"/>
	<logger name="org.apache.maven" level="debug"/>

	<logger name="httpclient" level="error"/>
	<logger name="java" level="error"/>
	<logger name="org.apache" level="error"/>
	<logger name="com.aragost.javahg.log.JULLogger" level="error"/>
	<logger name="org.redline_rpm" level="error"/>

	<logger name="${collectLoggerName}" level="trace">
		<appender-ref ref="${collectAppenderName}"/>
	</logger>

	<root>
		<appender-ref ref="console" />
	</root>
</configuration>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy