Skip to content

Commit

Permalink
Remove unused audit.log (#1663)
Browse files Browse the repository at this point in the history
Signed-off-by: Kai Kreuzer <[email protected]>
  • Loading branch information
kaikreuzer authored Jun 22, 2024
1 parent 285e604 commit c1edbeb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 15 deletions.
3 changes: 3 additions & 0 deletions distributions/openhab/src/main/resources/bin/update.lst
Original file line number Diff line number Diff line change
Expand Up @@ -274,3 +274,6 @@ REPLACE;actiontemplatehli;;$OPENHAB_USERDATA/config/org/openhab/addons.config
REPLACE;,porcupineks;;$OPENHAB_USERDATA/config/org/openhab/addons.config
REPLACE;porcupineks,;;$OPENHAB_USERDATA/config/org/openhab/addons.config
REPLACE;porcupineks;;$OPENHAB_USERDATA/config/org/openhab/addons.config

[4.2.0]
DELETE;$OPENHAB_USERDATA/logs/audit.log
15 changes: 0 additions & 15 deletions distributions/openhab/src/main/resources/userdata/etc/log4j2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,6 @@
<DefaultRolloverStrategy max="7"/>
</RollingRandomAccessFile>

<!-- Audit file appender -->
<RollingRandomAccessFile fileName="${sys:openhab.logdir}/audit.log" filePattern="${sys:openhab.logdir}/audit.log.%i.gz" name="AUDIT">
<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss.SSS} [%-5.5p] [%-36.36c] - %m%n"/>
<Policies>
<OnStartupTriggeringPolicy/>
<SizeBasedTriggeringPolicy size="8 MB"/>
</Policies>
<DefaultRolloverStrategy max="7"/>
</RollingRandomAccessFile>

<!-- OSGi appender -->
<PaxOsgi filter="*" name="OSGI"/>
</Appenders>
Expand All @@ -52,11 +42,6 @@
<AppenderRef ref="STDOUT"/>
</Logger>

<!-- Security audit logger -->
<Logger additivity="false" level="INFO" name="org.apache.karaf.jaas.modules.audit">
<AppenderRef ref="AUDIT"/>
</Logger>

<!-- openHAB specific logger configuration -->

<Logger level="INFO" name="org.openhab"/>
Expand Down

0 comments on commit c1edbeb

Please sign in to comment.