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?
additivity="false" to logger you want to isolate.
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">
Where I have to add?
<Logger level="TRACE" name="org.openhab.binding.mihome" additivity="false">