Enable RequestLog on dev/stag/prod
This commit is contained in:
parent
f4e88bef77
commit
5879e81759
@ -268,6 +268,7 @@ var configDev = func() Config {
|
||||
GooglePackageName: confEnv("SCN_GOOG_PACKAGENAME"),
|
||||
GoogleProProductID: confEnv("SCN_GOOG_PROPRODUCTID"),
|
||||
Cors: true,
|
||||
ReqLogEnabled: true,
|
||||
ReqLogMaxBodySize: 2048,
|
||||
ReqLogHistoryMaxCount: 1638,
|
||||
ReqLogHistoryMaxDuration: timeext.FromDays(60),
|
||||
@ -339,6 +340,7 @@ var configStag = func() Config {
|
||||
GooglePackageName: confEnv("SCN_GOOG_PACKAGENAME"),
|
||||
GoogleProProductID: confEnv("SCN_GOOG_PROPRODUCTID"),
|
||||
Cors: true,
|
||||
ReqLogEnabled: true,
|
||||
ReqLogMaxBodySize: 2048,
|
||||
ReqLogHistoryMaxCount: 1638,
|
||||
ReqLogHistoryMaxDuration: timeext.FromDays(60),
|
||||
@ -410,6 +412,7 @@ var configProd = func() Config {
|
||||
GooglePackageName: confEnv("SCN_GOOG_PACKAGENAME"),
|
||||
GoogleProProductID: confEnv("SCN_GOOG_PROPRODUCTID"),
|
||||
Cors: true,
|
||||
ReqLogEnabled: true,
|
||||
ReqLogMaxBodySize: 2048,
|
||||
ReqLogHistoryMaxCount: 1638,
|
||||
ReqLogHistoryMaxDuration: timeext.FromDays(60),
|
||||
|
Loading…
Reference in New Issue
Block a user