details:   https://code.openbravo.com/erp/devel/pi/rev/94e5e1fa789b
changeset: 22768:94e5e1fa789b
user:      Stefan Hühner <stefan.huehner <at> openbravo.com>
date:      Tue Mar 25 14:52:29 2014 +0100
summary:   Fixed 26083: Reduce amount of log with info level when installing 
new OBX.
Reduce loglevel from info to debug for installing new directories/files when
unpacking obx files.

diffstat:

 src/org/openbravo/erpCommon/modules/ImportModule.java |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r 1dcbf92e17e9 -r 94e5e1fa789b 
src/org/openbravo/erpCommon/modules/ImportModule.java
--- a/src/org/openbravo/erpCommon/modules/ImportModule.java     Tue Mar 25 
17:08:07 2014 +0530
+++ b/src/org/openbravo/erpCommon/modules/ImportModule.java     Tue Mar 25 
14:52:29 2014 +0100
@@ -1007,7 +1007,7 @@
         // restore core
         final File core[] = getCore();
         try {
-          log4j.info("Deletig core to restore backup...");
+          log4j.info("Deleting core to restore backup...");
           Utility.deleteDir(core);
           log4j.info("Restoring core " + backupFileName);
           Zip.unzip(backupFileName, obDir);
@@ -1512,7 +1512,7 @@
 
         if (entry.isDirectory() || entryFile.getParent() != null) {
           if (!dir.exists()) {
-            log4j.info("Created dir: " + dir.getAbsolutePath());
+            log4j.debug("Created dir: " + dir.getAbsolutePath());
             dir.mkdirs();
           }
         }
@@ -1553,7 +1553,7 @@
           }
 
           // Unzip the file
-          log4j.info("Installing " + fileName);
+          log4j.debug("Installing " + fileName);
 
           final FileOutputStream fout = new FileOutputStream(entryFile);
 

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Openbravo-commits mailing list
Openbravo-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to