Fix [ 1860712 ] GenerateModel is not showing log in console
This commit is contained in:
parent
cb240064e5
commit
5945691c36
|
@ -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("----------------------------------");
|
||||||
|
|
Loading…
Reference in New Issue