Interface LoggingConfig
@ConfigMapping(prefix="stargate.api.logging")
public interface LoggingConfig
Extra, Stargate related configuration for the logging.
-
Method Summary
-
Method Details
-
enabled
@WithDefault("false") boolean enabled()- Returns:
- If request info logging is enabled.
-
enabledTenants
- Returns:
- Set of tenants for which the request info should be logged.
-
enabledPaths
- Returns:
- Set of paths for which the request info should be logged.
-
enabledPathPrefixes
- Returns:
- Set of path prefixes for which the request info should be logged.
-
enabledErrorCodes
- Returns:
- Set of error codes for which the request info should be logged.
-
enabledMethods
- Returns:
- Set of methods for which the request info should be logged.
-
requestBodyLoggingEnabled
@WithDefault("false") boolean requestBodyLoggingEnabled()- Returns:
- If request body logging is enabled.
-