From 7334b3dc66ae8d43ac01f5610229cf623633eaf4 Mon Sep 17 00:00:00 2001 From: hangum Date: Tue, 30 Jan 2018 09:59:32 +0900 Subject: [PATCH] =?utf8?q?-=20=ED=8C=8C=EC=9D=BC=EC=9D=B4=20=EC=97=86?= =?utf8?q?=EC=9D=84=20=EC=88=98=20=EC=9E=88=EB=8A=94=EB=8D=B0,=20=EC=97=90?= =?utf8?q?=EB=9F=AC=EB=A1=9C=EA=B7=B8=EB=A1=9C=20=EB=82=98=EC=99=80=20?= =?utf8?q?=EC=98=A4=ED=95=B4=20=EC=83=9D=EA=B8=B0=EB=8A=94=20=EB=B6=80?= =?utf8?q?=EB=B6=84=EC=9D=B4=20=EC=9E=88=EC=96=B4=EC=84=9C=20=EB=94=94?= =?utf8?q?=EB=B2=84=EA=B7=B8=EB=AA=A8=EB=93=9C=EC=9D=BC=EB=95=8C=EB=A7=8C?= =?utf8?q?=20=EC=97=90=EB=9F=AC=EB=A1=9C=20=EC=B6=9C=EB=A0=A5=ED=95=98?= =?utf8?q?=EB=8F=84=EB=A1=9D=20=EC=BD=94=EB=93=9C=20=EA=B0=9C=EC=84=A0.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../src/com/hangum/tadpole/commons/util/LoadConfigFile.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/com.hangum.tadpole.commons/src/com/hangum/tadpole/commons/util/LoadConfigFile.java b/com.hangum.tadpole.commons/src/com/hangum/tadpole/commons/util/LoadConfigFile.java index fd97defa6..6e2efd4c5 100644 --- a/com.hangum.tadpole.commons/src/com/hangum/tadpole/commons/util/LoadConfigFile.java +++ b/com.hangum.tadpole.commons/src/com/hangum/tadpole/commons/util/LoadConfigFile.java @@ -41,8 +41,8 @@ public class LoadConfigFile { properties.load(new FileInputStream( ApplicationArgumentUtils.getResourcesDir() + PublicTadpoleDefine.TDB_CONFIG_FILE)); } catch (Exception e) { - logger.error(String.format("Not found config files. %s", - ApplicationArgumentUtils.getResourcesDir() + PublicTadpoleDefine.TDB_CONFIG_FILE)); + // debug 모드 일때만 에러로 출력한다. + if(logger.isDebugEnabled()) logger.error(String.format("Not found config files. %s", ApplicationArgumentUtils.getResourcesDir() + PublicTadpoleDefine.TDB_CONFIG_FILE)); } _trimPropertie(properties); } @@ -60,8 +60,8 @@ public class LoadConfigFile { properties.load(new FileInputStream( ApplicationArgumentUtils.getResourcesDir() + PublicTadpoleDefine.TDB_CONFIG_FILE)); } catch (Exception e) { - logger.error(String.format("Not found config files. %s", - ApplicationArgumentUtils.getResourcesDir() + PublicTadpoleDefine.TDB_CONFIG_FILE)); + // debug 모드 일때만 에러로 출력한다. + if(logger.isDebugEnabled()) logger.error(String.format("Not found config files. %s", ApplicationArgumentUtils.getResourcesDir() + PublicTadpoleDefine.TDB_CONFIG_FILE)); } _trimPropertie(properties); -- 2.11.4.GIT