mirror of
https://github.com/google/nomulus.git
synced 2025-05-15 08:57:12 +02:00
Log source IP when logging is enabled
We will only enable logging for non-production environment, so there shouldn't be any privacy concerns by enabling this. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=198744739
This commit is contained in:
parent
af8b050446
commit
3960207502
2 changed files with 18 additions and 10 deletions
|
@ -203,7 +203,7 @@ public class ProxyServer implements Runnable {
|
|||
|
||||
public static void main(String[] args) throws Exception {
|
||||
// Use JDK logger for Netty's LoggingHandler,
|
||||
// which is what google.registry.util.FormattingLog uses under the hood.
|
||||
// which is what Flogger uses under the hood.
|
||||
InternalLoggerFactory.setDefaultFactory(JdkLoggerFactory.INSTANCE);
|
||||
|
||||
// Configure the components, this needs to run first so that the logging format is properly
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue