Hiding output warnings in the .

ReemReem Member Posts: 20 Contributor I
edited November 2018 in Help
Hi,

When I run the process via java,
Warnings and other statements appear in the output console.
For example:

run:
Jun 08, 2014 4:07:36 PM com.rapidminer.tools.ParameterService init
INFO: Reading configuration resource com/rapidminer/resources/rapidminerrc.
Jun 08, 2014 4:07:36 PM com.rapidminer.tools.I18N <clinit>
INFO: Set locale to en.
Jun 08, 2014 4:07:37 PM com.rapid_i.Launcher ensureRapidMinerHomeSet
INFO: Property rapidminer.home is not set. Guessing.
Jun 08, 2014 4:07:37 PM com.rapid_i.Launcher ensureRapidMinerHomeSet
INFO: Trying parent directory of 'D:\classifier\lib\launcher.jar'...gotcha!
Jun 08, 2014 4:07:37 PM com.rapid_i.Launcher ensureRapidMinerHomeSet
INFO: Trying parent directory of 'D:\classifier\lib\rapidminer.jar'...gotcha!
Jun 08, 2014 4:07:39 PM com.rapidminer.parameter.ParameterTypePassword decryptPassword
WARNING: Password in XML file looks like unencrypted plain text.
Jun 08, 2014 4:07:41 PM com.rapidminer.tools.jdbc.JDBCProperties <init>
WARNING: Missing database driver class name for ODBC Bridge (e.g. Access)
Jun 08, 2014 4:07:41 PM com.rapidminer.tools.jdbc.JDBCProperties registerDrivers
INFO: JDBC driver ca.ingres.jdbc.IngresDriver not found. Probably the driver is not installed.
Jun 08, 2014 4:07:41 PM com.rapidminer.tools.jdbc.JDBCProperties registerDrivers
INFO: JDBC driver oracle.jdbc.driver.OracleDriver not found. Probably the driver is not installed.
Jun 08, 2014 4:07:42 PM com.rapidminer.tools.WrapperLoggingHandler log
INFO: No filename given for result file, using stdout for logging results!
Jun 08, 2014 4:07:42 PM com.rapidminer.Process run
INFO: Process //Repository/Model starts
Jun 08, 2014 4:07:42 PM com.rapidminer.Process run
INFO: Process //Repository/Model finished successfully after 0 s
Is there any way to hide them to not appear in the console?
Thanks in advance.
Tagged:

Answers

  • Marco_BoeckMarco_Boeck Team Lead Software Engineering Moderator, Employee, Member, University Professor Posts: 1,806   RM Engineering
    Hi,

    you would have to remove the handlers registered to the "LogService.getRoot()" logger. You could add your own handler then which only lets through log entries upon conditions you specify.

    Regards,
    Marco
Sign In or Register to comment.