Log filtering in OH 3

I don’t have this version anymore (new installation), the one from the initial post was the one I started with. Could you please your config here?

after adding the filter to LOGFILE and EVENT it now works

		<!-- Rolling file appender -->
		<RollingFile fileName="${sys:openhab.logdir}/openhab.log" filePattern="${sys:openhab.logdir}/openhab.log.%i" name="LOGFILE">
			<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss.SSS} [%-5.5p] [%-36.36c] - %m%n"/>		
			<RegexFilter onMatch="DENY" onMismatch="ACCEPT" regex=".*(HeartBeat|_LastUpdate|_Watts|_PumpWatts|TotalWatts|_Signal|_InnerTemp|KitchenRadio_InfoText|Rachio API initialized|refreshDeviceStatus).*"/>
			<Policies>
				<OnStartupTriggeringPolicy/>
				<SizeBasedTriggeringPolicy size="8 MB"/>
			</Policies>
		</RollingFile>

		<!-- Event log appender -->
		<RollingRandomAccessFile fileName="${sys:openhab.logdir}/events.log" filePattern="${sys:openhab.logdir}/events.log.%i" name="EVENT">
			<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss.SSS} [%-5.5p] [%-36.36c] - %m%n"/>
			<RegexFilter onMatch="DENY" onMismatch="ACCEPT" regex=".*(HeartBeat|_LastUpdate|_Watts|_PumpWatts|TotalWatts|_Signal|_InnerTemp|KitchenRadio_InfoText|Rachio API initialized|refreshDeviceStatus).*"/>
			<Policies>
				<OnStartupTriggeringPolicy/>
				<SizeBasedTriggeringPolicy size="4 MB"/>
			</Policies>
		</RollingRandomAccessFile>
4 Likes