Options

Integrated RM and Logging

harri678harri678 Member Posts: 34 Contributor II
edited November 2018 in Help
Hi,

I have successfully integrated RM into my own java application. It's just a little wrapper for a document matching and I was wondering if it's possible to completely disable the logging output? I have already "LogService.getGlobal().setVerbosityLevel(LogService.OFF);" in the first line of my code, startup-output is minimized but there are still outputs while running a process. The documentation in the wiki seems to be out of date.

Here is some sample output:

2010-03-02 14:52:04 INFO: Property rapidminer.home is not set. Guessing. (Launcher.ensureRapidMinerHomeSet())
2010-03-02 14:52:04 INFO: Trying parent directory of '/home/harald/install/rapidminer/lib/rapidminer.jar'...gotcha! (Launcher.ensureRapidMinerHomeSet())
2010-03-02 14:52:04 INFO: Trying parent directory of '/home/harald/install/rapidminer/lib/launcher.jar'...gotcha! (Launcher.ensureRapidMinerHomeSet())


[?] Bitte geben sie den Text ein: Zwei Seelen in meiner Brust, eine die hacklt eine die lunzt.
2010-03-02 14:52:20 INFO: No filename given for result file, using stdout for logging results! (WrapperLoggingHandler.log())
2010-03-02 14:52:20 INFO: Loading initial data. (Process.loadInitialData())
2010-03-02 14:52:20 INFO: Process starts (Process.run())

Das Ergebnis ist: faust
Übereinstimmung: Goethe's Faust: 50.537324%  Max und Moritz: 20.232612%  Hamlet: 29.230065%


[?] Bitte geben sie den Text ein: 2010-03-02 14:52:23 INFO: Saving results. (Process.saveResults())
2010-03-02 14:52:23 INFO: Process finished successfully after 2 s (Process.run())

Can you please give me advice?


Thanks,
Harald

Answers

  • Options
    landland RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 2,531 Unicorn
    Hi,
    there's a parameter in the process root operator, where you can switch of the process logging.

    And unfortunately I have to say this, but please be aware that your program must be AGPL3 if you integrated RapidMiner.

    Greetings,
      Sebastian
  • Options
    harri678harri678 Member Posts: 34 Contributor II
    thanks, i keep that in mind.

Sign In or Register to comment.