From 54e686c2e8ccff0fbb9dfa713e9c6669a396d899 Mon Sep 17 00:00:00 2001 From: Rui Han Date: Wed, 16 Aug 2023 09:55:22 +0800 Subject: [PATCH] Make config change log as trace (#79) --- .../commonjava/util/gateway/config/ProxyConfiguration.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/commonjava/util/gateway/config/ProxyConfiguration.java b/src/main/java/org/commonjava/util/gateway/config/ProxyConfiguration.java index 3f188d9..02ec526 100644 --- a/src/main/java/org/commonjava/util/gateway/config/ProxyConfiguration.java +++ b/src/main/java/org/commonjava/util/gateway/config/ProxyConfiguration.java @@ -98,7 +98,7 @@ public void load( boolean init ) File file = new File( USER_DIR, "config/" + PROXY_YAML ); if ( file.exists() ) { - logger.debug( "Load proxy config from file, {}", file ); + logger.trace( "Load proxy config from file, {}", file ); try(FileInputStream fis = new FileInputStream( file )) { doLoad( fis ); @@ -134,7 +134,7 @@ private void doLoad( InputStream res ) String nextStateHash = DigestUtils.sha256Hex( str ).toUpperCase(); if ( nextStateHash.equals( stateHash ) ) { - logger.debug( "Skip, NO_CHANGE" ); + logger.trace( "Skip, NO_CHANGE" ); return; }