-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable the runner to select debug level. #383
Comments
metafacture-runner/src/main/dist/config/java-options.conf
. It seems that the core included runner can adjust this. BUT the metafix runner cannot do this.
See my earlier comment in #371. |
So we have to sit this one out until core and fix are merged? |
Creating a config folder in the bin folder with the log4j.xml does not do the trick. @fsteeg suggested it to try it our. |
Does it make sense to adjust the runner build to the core one? There are a lot of advantages to this. Since the runner would have examples and Java Options would be available. etc. |
WIP just showing that something works to log debug level
You may want to cherry-pick 47304f9 and log something at debug level. |
The following seems to work:
|
I am not sure if this is relevant for the change @cboehme had added some comments for the logger dependency in the metafacture core runner gradle file.: |
Enables java logging. The log level can be changed by setting a variable. Set and run like this: JAVA_OPTS="-Dorg.metafacture.metafix.logLevel=DEBUG"; ./gradlew installDist; cd metafix-runner/build/install/metafix-runner; bin/metafix-runner $pathTo.flux Co-authored-by: Jens Wille <[email protected]>
Enables java logging. The log level can be changed by setting a variable. Set and run like this: export JAVA_OPTS="-Dorg.metafacture.metafix.logLevel=DEBUG"; ./gradlew installDist; cd metafix-runner/build/install/metafix-runner; bin/metafix-runner $pathTo.flux Note that you cannot use `./gradlew :metafix-runner:run ...` as setting the log level only works within the distribztion. Co-authored-by: Jens Wille <[email protected]>
Enables java logging. The log level can be changed by setting a variable. Set and run like this: export JAVA_OPTS="-Dorg.metafacture.metafix.logLevel=DEBUG"; ./gradlew installDist; cd metafix-runner/build/install/metafix-runner; bin/metafix-runner $pathTo.flux Note that you cannot use `./gradlew :metafix-runner:run ...` as setting the log level only works within the distribution. Co-authored-by: Jens Wille <[email protected]>
@TobiasNx how to set the java log level to |
Originally posted by @TobiasNx in metafacture/metafacture-core#536 (comment)
The Metafix Runner is not able to set the config level to DEBUG.
The text was updated successfully, but these errors were encountered: