Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused audit.log #1663

Merged
merged 1 commit into from
Jun 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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