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

[Core] Configurability of the timestamps in logs #5651

Open
dbeatty10 opened this issue Jun 12, 2024 · 0 comments
Open

[Core] Configurability of the timestamps in logs #5651

dbeatty10 opened this issue Jun 12, 2024 · 0 comments
Labels
content Improvements or additions to content dbt Core The changes proposed in this issue relate to dbt Core size: medium This change will take up to a week to address

Comments

@dbeatty10
Copy link
Contributor

dbeatty10 commented Jun 12, 2024

Link to the page(s) on docs.getdbt.com requiring updates

https://docs.getdbt.com/reference/global-configs/logs#log-formatting

Tell us more about this update

Consider adding this information more explicitly (rather than just showing via the examples).

There is some of amount of configurability of the time zone and precision of timestamps via the LOG_FORMAT and LOG_FORMAT_FILE configs. Here's a brief summary:

Log format Time zone Aware vs. naive Precision
text UTC naive timestamp second
debug system local time zone naive timestamp microsecond
json UTC aware timestamp microsecond

There's some more nitty-gritty code details discussed here.

Reviewers/Stakeholders/SMEs

📆 Timestamps Doug

Related GitHub issues

Additional information

No response

@dbeatty10 dbeatty10 added content Improvements or additions to content dbt Core The changes proposed in this issue relate to dbt Core labels Jun 12, 2024
@nataliefiann nataliefiann added the size: medium This change will take up to a week to address label Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content Improvements or additions to content dbt Core The changes proposed in this issue relate to dbt Core size: medium This change will take up to a week to address
Projects
None yet
Development

No branches or pull requests

2 participants