That is one correct answer, as @Jaynova and @Elliott Frisch said. Jodd uses Logback, so all you have to do is to mute the logging category in logback configuration, as explained in the other answer. You can do that from Java or from logback configuration file.
There is one more solution, added recently: LagartoDOMBuilder
has a property parsingErrorLogLevel
, which purpose is to set the log level of parsing errors (by default is set to WARN
). Sometimes, its important to have these errors in the log (eg parsing your own code), and sometimes its just annoying (parsing live code, usually with lot of errors).
So while you can switch off the all logging for that package, you may also mute just the parsing errors by setting the level to DEBUG
(assuming your global log level is higher).
So, in short, get the LagartoDOMBuilder
instance before parsing and set this flag :)