Fix [ 1860712 ] GenerateModel is not showing log in console

This commit is contained in:
Carlos Ruiz 2007-12-30 00:15:13 +00:00
parent cb240064e5
commit 5945691c36
1 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ package org.adempiere.util;
import java.sql.PreparedStatement; import java.sql.PreparedStatement;
import java.sql.ResultSet; import java.sql.ResultSet;
import java.util.logging.Level; import java.util.logging.*;
import org.compiere.Adempiere; import org.compiere.Adempiere;
import org.compiere.util.CLogMgt; import org.compiere.util.CLogMgt;
@ -67,7 +67,7 @@ public class GenerateModel
*/ */
public static void main (String[] args) public static void main (String[] args)
{ {
Adempiere.startupEnvironment(false); Adempiere.startupEnvironment(true);
CLogMgt.setLevel(Level.FINE); CLogMgt.setLevel(Level.FINE);
log.info("Generate Model $Revision: 1.42 $"); log.info("Generate Model $Revision: 1.42 $");
log.info("----------------------------------"); log.info("----------------------------------");