// Get an instance of the IMiS/Storage Connector
com.imis.storageconnector.StorageConnector sc = com.imis.storageconnector.StorageConnector.getInstance();
// Create custom log handler
java.util.logging.FileHandler fileLog = new java.util.logging.FileHandler("/isc.log", 1000000, 10, true); // file handler that outputs to rotating file log
// Add log handler to IMiS/Storage Connector logger
sc.logAddHandler(fileLog);
|