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();
dm = session.getVariable( "DATAMANAGER" );
// Set Logging Level
dm.setLoggingLevel( org.apache.log4j.Level.ERROR );
// Build Schemas
dm.buildSchemas();
scraper on 07/16/2010 at 5:23 pm
- Printer-friendly version
- Login or register to post comments