Stephen Finnegan
Stephen Finnegan

Reputation: 1

Resetting Orika Debug Logging Levels

I am using Orika for a data conversion project. I would like to know how to drop the Debugging level down to ERROR (?) instead of DEBUG which it seems to be set to currently. The log files are huge and I'm sure the process time would change quite a bit too. Any help qould be much appreciated as I cannot find anything usefull on the net.

Many Thanks.

I've searched the internet as well as all documentation I could find but nothing provided a route to me solving my issue.

Upvotes: 0

Views: 28

Answers (1)

Luuk
Luuk

Reputation: 14891

The how to depends on the logging framework you use

for Log4j 2:

Adding or modifying the log4j2.xml configuration file:

<Configuration>
    <Loggers>
        <Logger name="ma.glasnost.orika" level="ERROR" />
        <!-- Other configurations -->
    </Loggers>
</Configuration>

for Log4j 1.x:

adding or modifying the log4j.properties file:

log4j.logger.ma.glasnost.orika=ERROR

Upvotes: 0

Related Questions