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

Log in local timezone if configured to #572

Draft
wants to merge 1 commit into
base: v3.x/staging
Choose a base branch
from

Conversation

1000TurquoisePogs
Copy link
Member

This PR checks the zowe property zowe.logging.timezone: environment via environment variable ZWED_zowe_logging_timezone (due to early load of logging, the yaml isnt available)
when this is set to "environment", the server will get the timezone from nodejs (nodejs knows system timezone, seems to respect the TZ environment variable)

It will apply this timezone as an offset so that the server can log in local time instead of UTC time.
The default is still UTC time via zowe.logging.timezone: utc

Signed-off-by: 1000TurquoisePogs <sgrady@rocketsoftware.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Ready for Review
Development

Successfully merging this pull request may close these issues.

1 participant