Logging into separate file

Hi,
I configured looging to log some Bindings into a specific file, using configuration into log4j2.xml
This is working fine, but logs are also wrote to openhab.log
Is there a way to exclude the bindings I configured to log into a specific file from generic openhab.log?

Many Thanks

Add additivity="false" to logger you want to isolate.

Hi,
thanks for quick answer, but I do not know hotw to add.
This is my logger:

		<!-- XIAOMI logger -->
		<Logger level="TRACE" name="org.openhab.binding.mihome">
			<AppenderRef ref="XIAOMI"/>
		</Logger>

Where I have to add?

Thanks

Found

<Logger level="TRACE" name="org.openhab.binding.mihome" additivity="false">

Thanbks