I am passing java command line option in Jenkins build configuration in Goals and
Options as -Dorg.slf4j.simpleLogger.defaultLogLevel=warn
But somehow jenkins is ignoring it and I am getting log levels at INFO. How do I fix this?
I am passing java command line option in Jenkins build configuration in Goals and
Options as -Dorg.slf4j.simpleLogger.defaultLogLevel=warn
But somehow jenkins is ignoring it and I am getting log levels at INFO. How do I fix this?
Copyright © 2021 Jogjafile Inc.
You are sending a default level, that Jenkins accepts, but if you define specific implementation properties,as inside log4j.xml, it will override default and save logs per definition. for example: