|
|
|
|
@ -8,7 +8,7 @@ package utils;
|
|
|
|
|
import com.evolute.utils.error.ErrorLogger;
|
|
|
|
|
import com.evolute.utils.error.LoggerProperties;
|
|
|
|
|
import com.evolute.utils.error.ProjectsEnum;
|
|
|
|
|
import com.evolute.utils.error.log4j.DBLogger;
|
|
|
|
|
import com.evolute.utils.error.ws.WSLogger;
|
|
|
|
|
import java.util.HashMap;
|
|
|
|
|
import java.util.Map;
|
|
|
|
|
|
|
|
|
|
@ -34,7 +34,14 @@ public class PlanosActuacaoLogger
|
|
|
|
|
map.put( LoggerProperties.SOFTWARE_VERSION, "1" );
|
|
|
|
|
map.put( LoggerProperties.PROJECT_VERSION, "1" );
|
|
|
|
|
map.put( LoggerProperties.SOFTWARE_NAME, "SIPRP - Planos Actuacao" );
|
|
|
|
|
ErrorLogger.initializeLogger( new DBLogger( map ) );
|
|
|
|
|
try
|
|
|
|
|
{
|
|
|
|
|
ErrorLogger.initializeLogger( new WSLogger( map ) );
|
|
|
|
|
}
|
|
|
|
|
catch ( Exception e )
|
|
|
|
|
{
|
|
|
|
|
e.printStackTrace();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|