<?xml version="1.0" encoding="UTF-8"?>
<beans:beans xmlns="http://www.springframework.org/schema/integration"
			 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
			 xmlns:beans="http://www.springframework.org/schema/beans"
			 xmlns:context="http://www.springframework.org/schema/context"
			 xmlns:util="http://www.springframework.org/schema/util"
			 xsi:schemaLocation="http://www.springframework.org/schema/beans
			https://www.springframework.org/schema/beans/spring-beans.xsd
			http://www.springframework.org/schema/integration
			https://www.springframework.org/schema/integration/spring-integration.xsd
			http://www.springframework.org/schema/context
			https://www.springframework.org/schema/context/spring-context.xsd
			http://www.springframework.org/schema/util
			https://www.springframework.org/schema/util/spring-util.xsd">

	<util:properties id="props">
		<beans:prop key="logging.level">WARN</beans:prop>
	</util:properties>

	<context:property-placeholder properties-ref="props"/>

	<logging-channel-adapter id="logger"
							 logger-name="org.springframework.integration.test.logger"
							 order="1"
							 level="${logging.level}"
							 log-full-message="true"/>

	<logging-channel-adapter id="loggerWithExpression" expression="payload.foo"/>

</beans:beans>
