New reply on DataCleaner's online discussion forum
(https://datacleaner.org/forum):
Chox replied to subject 'Help with Pentho Kitchen running job file with Execute
DataCleaner job'
-------------------
Thanks for you reply Kasper.
I can see in the Pentaho Kitchen code, there is a LogChannel class, it seems
simple to use, only need a channel name. As far i can understand is a kind of
separated channel where the application can put messages. If there is not
direct dependency on using the Spoon instance maybe this can work.
I share with you this scratch code.
{{{
import org.pentaho.di.core.logging.LogChannel;
import org.pentaho.di.core.logging.LogChannelInterface;
public static final String STRING_DATACLEANER = "DataCleaner";
LogChannelInterface log = new LogChannel( STRING_DATACLEANER );
}}}
Current examples on Pentaho code.
[https://github.com/pentaho/pentaho-kettle/blob/master/engine/src/org/pentaho/di/kitchen/Kitchen.java
Pentaho Kitchen.java]
[https://github.com/pentaho/pentaho-kettle/blob/master/plugins/kettle-version-checker/src/org/pentaho/di/core/lifecycle/pdi/VersionCheckerListener.java
Pentaho VersionCheckerListener.java]
Hope it helps to bring forward the needed solution.
Regards.
-------------------
View the topic online to reply - go to
https://datacleaner.org/topic/1122/Help-with-Pentho-Kitchen-running-job-file-with-Execute-DataCleaner-job
--
You received this message because you are subscribed to the Google Groups
"DataCleaner-notify" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/datacleaner-notify.
For more options, visit https://groups.google.com/d/optout.