Skip to content

Commit

Permalink
enable request logging by default
Browse files Browse the repository at this point in the history
since a lot of people are updating to lavalink v4 from v3 they don't have this setting in their application.yml
these logs are an easy way to see if anything is wrong and should be enabled by default
  • Loading branch information
topi314 committed Nov 20, 2023
1 parent d685d98 commit 8ab4e48
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import org.springframework.context.annotation.Configuration

@Configuration
@ConfigurationProperties(prefix = "logging.request")
@ConditionalOnProperty("logging.request.enabled")
@ConditionalOnProperty("logging.request.enabled", matchIfMissing = true)
data class RequestLoggingConfig(
var includeClientInfo: Boolean = true,
var includeClientInfo: Boolean = false,
var includeHeaders: Boolean = false,
var includeQueryString: Boolean = true,
var includePayload: Boolean = true,
Expand Down

0 comments on commit 8ab4e48

Please sign in to comment.