diff --git a/server/config/config.go b/server/config/config.go index 8d2c212cfd74..cd9d814abe81 100644 --- a/server/config/config.go +++ b/server/config/config.go @@ -34,6 +34,10 @@ const ( // bytes the server can send. DefaultGRPCMaxSendMsgSize = math.MaxInt32 + // DefaultLogQueries defines the default value for the log_queries parameter. + // Should be set to false unless debugging. + DefaultLogQueries = false + // FileStreamer defines the store streaming type for file streaming. FileStreamer = "file" ) @@ -322,7 +326,7 @@ func DefaultConfig() *Config { Address: DefaultGRPCAddress, MaxRecvMsgSize: DefaultGRPCMaxRecvMsgSize, MaxSendMsgSize: DefaultGRPCMaxSendMsgSize, - LogQueries: false, + LogQueries: DefaultLogQueries, }, Rosetta: RosettaConfig{ Enable: false,