Skip to content
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

Make consoleLogLevel default to an env variable setting first #1758

Closed
Channyboy opened this issue Jan 23, 2018 · 0 comments · Fixed by #1771
Closed

Make consoleLogLevel default to an env variable setting first #1758

Channyboy opened this issue Jan 23, 2018 · 0 comments · Fixed by #1771

Comments

@Channyboy
Copy link
Contributor

The logging element's consoleLogLevel defaults to AUDIT level currently. In order to use logging effectively in environments that manage logs, where env vars are the expected means of applying operational config options, we need consoleLogLevel to be configurable via an env var.

As with other logging configuration, explicitly set bootstrap properties take precedence over environment variables. Explicitly set server.xml attributes take effect once server.xml is read.

env var:
WLP_LOGGING_CONSOLE_LOGLEVEL

bootstrap property (same as today):
com.ibm.ws.logging.console.log.level

server.xml attribute in logging element (same as today):
consoleLogLevel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants