...
4.2.0 also sets sane defaults on all these values to make sure that by default you don't run out of memory.
Cleaning up after execution
In Spoon, Carte and the DI Server, cleanup of the logging records or logging registry entries is done automatically. However, if you are executing transformations or jobs yourself using the Kettle API (see elsewhere in the SDK) you might want to remove logging records when you are done with them explicitly:
Code Block |
---|
// Remove the logging records
String logChannelId = trans.getLogChannelId(); // or job.getLogChannelId()
CentralLogStore.discardLines(logChannelId, true);
// Remove the entries from the registry
LoggingRegistry.getInstance().removeIncludingChildren(logChannelId);
|