Yale/August smart locks with WiFi support

I’m usually configuring logging directly in the log4j.xml file (often with separate log files for each binding I need to analyse), and this seems to confuse Karaf when also setting log level in the console. Have not investigated why.

Can you try to change logging in log4j.xml instead?

I’m using:

                <RollingFile fileName="${sys:openhab.logdir}/august.log" filePattern="${sys:openhab.logdir}/august.log.%i" name="AUGUST">
                        <PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss.SSS} [%-5.5p] [%-36.36c] - %m%n"/>
                        <Policies>
                                <SizeBasedTriggeringPolicy size="32 MB"/>
                        </Policies>
                </RollingFile>

… in the Appenders section and

                <Logger additivity="false" level="TRACE" name="org.openhab.binding.august">
                        <AppenderRef ref="AUGUST"/>
                </Logger>

… in the Loggers section.

Regards

2 Likes