Community & Support
Learn
Marketplace
Discussions
Categories
Discussions
General
Platform
Academic
Partner
Regional
Explore Siemens Communities
User Groups
Documentation
Events
Altair Exchange
Share or Download Projects
Resources
News & Instructions
Programs
YouTube
Employee Resources
This tab can be seen by employees only. Please do not share these resources externally.
Groups
Join a User Group
Support
Home
Discussions
Community Q&A
Redirect logging
timur
Hi all,
I am integrating RapidMiner in my application and I want to redirect RapidMiner logs to a file. I have found the way to redirect the output of a single process to a file by setting ProcessRootOperator.PARAMETER_LOGFILE, however I can't find how to redirect the actual RM logs (e.g. ones that you get when initializing RM). Documentation says to use LogService.initGlobalLogging method, however there is no such method in my RM distribution (I got the head version of RM 5 from the subversion).
As a sidenote: it seems to me that exception logs are redirected to System.err anyways, even if ProcessRootOperator.PARAMETER_LOGFILE is set. Is there any way to put it in the process log file so that I know which process have thrown this exception in case of several processes?
I will appreciate any help on these problems. Thanks!
Find more posts tagged with
AI Studio
Developer
Accepted answers
All comments
simon_knoll
hi,
i deactivated logging with
LogService.getRoot().setLevel(Level.OFF);
maybe that helps you a bit.
regards simon
fischer
Hi,
RapidMiner uses Java's regular java.util.logging API. E.g., LogService.getRoot() will deliver the root Logger. com.rapidminer.Process has its individual Logger used while executing the process. You can register whatever Handlers you like with these loggers. Sun has documentation on this.
Cheers,
Simon
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)
Groups