Skip to content

[DE-831] reset log levels #573

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

Merged
merged 1 commit into from
Sep 5, 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
7 changes: 7 additions & 0 deletions core/src/main/java/com/arangodb/ArangoDB.java
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,13 @@ public interface ArangoDB extends ArangoSerdeAccessor {
*/
LogLevelEntity setLogLevel(LogLevelEntity entity, LogLevelOptions options);

/**
* Reset the server log levels
* Revert the server's log level settings to the values they had at startup, as determined by the startup options specified on the command-line, a configuration file, and the factory defaults.
* @since ArangoDB 3.12
*/
LogLevelEntity resetLogLevels(LogLevelOptions options);

/**
* @return the list of available rules and their respective flags
* @see <a href="https://docs.arangodb.com/stable/develop/http-api/queries/aql-queries/#list-all-aql-optimizer-rules">API
Expand Down
5 changes: 5 additions & 0 deletions core/src/main/java/com/arangodb/ArangoDBAsync.java
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,11 @@ public interface ArangoDBAsync extends ArangoSerdeAccessor {
*/
CompletableFuture<LogLevelEntity> setLogLevel(LogLevelEntity entity, LogLevelOptions options);

/**
* Asynchronous version of {@link ArangoDB#resetLogLevels(LogLevelOptions)}
*/
CompletableFuture<LogLevelEntity> resetLogLevels(LogLevelOptions options);

/**
* Asynchronous version of {@link ArangoDB#getQueryOptimizerRules()}
*/
Expand Down
Loading