IDEMPIERE-1325 - lower log level for a harmless message

This commit is contained in:
Carlos Ruiz 2017-06-21 17:15:12 +02:00
parent e012b916e2
commit b4c8f5e34e
1 changed files with 4 additions and 2 deletions

View File

@ -138,8 +138,10 @@ public final class Prop implements Serializable {
} }
catch (FileNotFoundException e) catch (FileNotFoundException e)
{ {
log.warning(filename + " not found"); if (log.isLoggable(Level.INFO)) {
log.warning("!!WARNING:Please locate yout custom home.properties on iDEMPIERE_HOME."); log.info(filename + " not found");
log.info("!!WARNING:Please locate your custom home.properties on IDEMPIERE_HOME.");
}
loadOK = false; loadOK = false;
try { try {
fis = Prop.class.getResourceAsStream(HOME_PROPERTY_FILE); fis = Prop.class.getResourceAsStream(HOME_PROPERTY_FILE);