-
Notifications
You must be signed in to change notification settings - Fork 34
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
Add option to runner for enabling DEBUG Mode #536
Comments
You mean for logging? |
Changing INFO to DEBUG, like you would do here: |
Right, that should basically work the same way for the runner, in that case in |
Since I test a lot of things via the command line with the Metafix Runner, this option would still be great. |
Could this help? https://medium.com/@kasunbg/change-log4j2-default-logging-level-to-info-b25db8723eb9 Something like: Adding: |
Also |
Let's do separation of concern : Fix is Fix and Core is Core. You can use the #change the log level from "info" to "debug":
sed -i 's#info#debug#g' metafacture-runner/src/main/dist/config/log4j.xml
# generate the distribution:
$ ./gradlew distZip;
# change to the location to the flux.sh (assuming you have generated the distribution on "master" branch):
$ cd metafacture-runner/build/distributions/metafacture-core-master-SNAPSHOT-dist
$ bash flux.sh $pathTo/your.flux Note that you have to insert
|
@dr0i So I wont be able to change the debug status AFTER the dist creation? If I change the following xml? |
To be 100% sure one has to try that out. Let me know the result. |
I tested it you only have to change the value in |
Does that mean that even AFTER doing |
Yes you can change it afterwards, so e.g. the released core distributions are configurable with regard to the release: https://github.com/metafacture/metafacture-core/releases/tag/metafacture-core-6.1.2 |
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=true
or something like this.The text was updated successfully, but these errors were encountered: