Skip to content

Commit

Permalink
use ChangeAuditLogger instead of AddAuditLogger v.2.0 :-)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Tymel committed Jun 21, 2016
1 parent 3810149 commit 0469099
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,10 @@ public void cleanup() throws IOException, CliException, OperationException, Time
ops.removeIfExists(TEST_DESTINATION_SYSLOG_HANDLER_ADDRESS);

// return server to its default configuration
AddAuditLogger changeLogger = new AddAuditLogger.Builder()
ChangeAuditLogger changeLogger = new ChangeAuditLogger.Builder()
.enabled(false)
.logBoot(true)
.logReadOnly(false)
.replaceExisting()
.build();
client.apply(changeLogger);
administration.reloadIfRequired();
Expand Down

0 comments on commit 0469099

Please sign in to comment.