-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Logging complete message by AuditLogger
AuditLogger now logs the whole audit message instead of just the event.
- Loading branch information
Johana Supíková
committed
Mar 9, 2021
1 parent
07287af
commit 762e1af
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
perun-auditlogger/src/main/java/cz/metacentrum/perun/auditlogger/logger/EventLogger.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
package cz.metacentrum.perun.auditlogger.logger; | ||
|
||
import cz.metacentrum.perun.audit.events.AuditEvent; | ||
import cz.metacentrum.perun.core.api.AuditMessage; | ||
|
||
public interface EventLogger extends Runnable { | ||
|
||
public int logEvent(AuditEvent event); | ||
public int logMessage(AuditMessage message); | ||
|
||
public void setLastProcessedIdNumber(int lastProcessedId); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters