Skip to content

Commit 8ab4e48

Browse files
committed
enable request logging by default
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
1 parent d685d98 commit 8ab4e48

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

LavalinkServer/src/main/java/lavalink/server/config/RequestLoggingConfig.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ import org.springframework.context.annotation.Configuration
88

99
@Configuration
1010
@ConfigurationProperties(prefix = "logging.request")
11-
@ConditionalOnProperty("logging.request.enabled")
11+
@ConditionalOnProperty("logging.request.enabled", matchIfMissing = true)
1212
data class RequestLoggingConfig(
13-
var includeClientInfo: Boolean = true,
13+
var includeClientInfo: Boolean = false,
1414
var includeHeaders: Boolean = false,
1515
var includeQueryString: Boolean = true,
1616
var includePayload: Boolean = true,

0 commit comments

Comments
 (0)