I’ve flailed at this so I thought I’d ask if anyone has been able to adjust the logging level in the JVM package. In particular, XGBoost has logger.info(evalHist[i]) hardcoded, which results in
INFO: [0] cv-test-error:0.456500 cv-train-error:0.414028
Feb 02, 2022 11:50:57 AM ml.dmlc.xgboost4j.java.XGBoost crossValidation
INFO: [1] cv-test-error:0.447250 cv-train-error:0.397875
Feb 02, 2022 11:50:57 AM ml.dmlc.xgboost4j.java.XGBoost crossValidation
...
lines which I’d like to suppress. I’ve tried all the tricks with jvm command-line parameters and a log4j.properties file, but I’m coming up empty.
Note that the verbosity parameter has no effect on this output, which occurs even with verbosity=0.