setLoggingLevel
void sqlDataManager.setLoggingLevel ( Level level ) (professional and enterprise editions only)
Description
Set the error logging level. Currently only DEBUG and ERROR levels are supported. At the DEBUG level, all queries and results will be output to the log.
Parameters
- level log4j logging level object.
Return Values
Returns void.
Change Log
Version |
Description |
5.0 |
Available for professional and enterprise editions. |
Examples
Set Logging Level
// Get MySQL datamanager
dm = session.getVariable( "DATAMANAGER" );
// Set Logging Level
dm.setLoggingLevel( org.apache.log4j.Level.ERROR );
// Build Schemas
dm.buildSchemas();