8000 Do not audit log replication writes by default [BTS-826] (#15924) · meta-foundation/arangodb@3b4892b · GitHub
[go: up one dir, main page]

Skip to content

Commit 3b4892b

Browse files
authored
Do not audit log replication writes by default [BTS-826] (arangodb#15924)
* Set default log level for audit_document and audit_authentication to INFO. * CHANGELOG. * Improve CHANGELOG.
1 parent 8d58d9c commit 3b4892b

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

CHANGELOG

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ devel
1010
* Added new AQL function `KEEP_RECURSIVE` to recursively keep attritutes from
1111
objects/documents, as a conterpart to `UNSET_RECURSIVE`.
1212

13+
* No longer put document writes from replication into the audit log by
14+
default. Same with low priority authentication like internal UI requests
15+
to .html files for the UI. This solves a performance problem for
16+
shards getting in sync with audit log switched on.
17+
1318
* Added an HTTP fuzzer that will fuzz requests (the header for the actual
1419
moment) and send to the server. The amount of requests sent is provided
1520
by one of the parameters of the function `fuzzRequests()` in arangosh.

lib/Logger/LogTopic.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,13 +165,13 @@ LogTopic Logger::VIEWS("views", LogLevel::FATAL);
165165
LogTopic LdapAuthProvider::LDAP_TOPIC("ldap", LogLevel::INFO);
166166

167167
LogTopic AuditFeature::AUDIT_AUTHENTICATION("audit-authentication",
168-
LogLevel::DEBUG);
168+
LogLevel::INFO);
169169
LogTopic AuditFeature::AUDIT_AUTHORIZATION("audit-authorization",
170170
LogLevel::INFO);
171171
LogTopic AuditFeature::AUDIT_DATABASE("audit-database", LogLevel::INFO);
172172
LogTopic AuditFeature::AUDIT_COLLECTION("audit-collection", LogLevel::INFO);
173173
LogTopic AuditFeature::AUDIT_VIEW("audit-view", LogLevel::INFO);
174-
LogTopic AuditFeature::AUDIT_DOCUMENT("audit-document", LogLevel::DEBUG);
174+
LogTopic AuditFeature::AUDIT_DOCUMENT("audit-document", LogLevel::INFO);
175175
LogTopic AuditFeature::AUDIT_SERVICE("audit-service", LogLevel::INFO);
176176
LogTopic AuditFeature::AUDIT_HOTBACKUP("audit-hotbackup", LogLevel::INFO);
177177
#endif

0 commit comments

Comments
 (0)
0