metafacture / metafacture-core

Core package of the Metafacture tool suite for metadata processing.
https://metafacture.org
Apache License 2.0
71 stars 34 forks source link

Add option to runner for enabling DEBUG Mode #536

Open TobiasNx opened 3 months ago

TobiasNx commented 3 months ago

At the moment you only can set JAVA embedded MF Workflows to debug mode. But it would be great to enable the debug mode for the CLI Version too. Thinking about adding an option debug=trueor something like this.

fsteeg commented 3 months ago

You mean for logging?

TobiasNx commented 3 months ago

You mean for logging?

Changing INFO to DEBUG, like you would do here: https://gitlab.com/oersi/oersi-etl/-/blob/68a658e994bcc5d870d9420560fcb517b8cc13c8/src/main/resources/log4j.properties#L7-10

fsteeg commented 3 months ago

Right, that should basically work the same way for the runner, in that case in config/log4j.xml. Not sure if it works though, I thought we had an issue for that (here or in the metafacture-fix repo), but I didn't find it now.