mirror of
https://github.com/google/nomulus
synced 2026-01-09 07:33:42 +00:00
Update GcpJsonFormatter (#2437)
Use the correct JSON field to store the source location info so it can be parsed by Stackdriver.
This commit is contained in:
@@ -139,8 +139,7 @@ public class ProxyModule {
|
||||
// "io.netty.handler.logging.LoggingHandler" to actually process the logs. This JUL logger is
|
||||
// set to Level.FINE if the --log parameter is passed, so that it does not filter out logs
|
||||
// that the LoggingHandler writes. Otherwise, the logs are silently ignored because the
|
||||
// default
|
||||
// JUL logger level is Level.INFO.
|
||||
// default JUL logger level is Level.INFO.
|
||||
JdkLoggerConfig.getConfig(LoggingHandler.class).setLevel(Level.FINE);
|
||||
// Log source IP information if --log parameter is passed. This is considered PII and should
|
||||
// only be used in non-production environment for debugging purpose.
|
||||
|
||||
Reference in New Issue
Block a user