Skip to content

[slice] Fix logging - #1141

Merged
pajakd merged 1 commit into
AI-Hypercomputer:slice-mainfrom
pajakd:fix_logging
Mar 19, 2026
Merged

pajakd merged 1 commit into
AI-Hypercomputer:slice-mainfrom
pajakd:fix_logging

Conversation

@pajakd

@pajakd pajakd commented Mar 19, 2026

Copy link
Copy Markdown
Collaborator

Description

Currently, all the logs in logs explorer are displayed as "Error". The reason is that by default we set "Development: true" in the zap options. This means that the logs are output in the plaintext and since they are (by default) written to stderr, the log severity is inferred as Error. We should remove this default (since this is in production anyway), plus its going to output the logs in JSON which should enable the Logs explorer to figure out the correct severity.

Issue

Testing

@PBundyra

Copy link
Copy Markdown
Collaborator

LGTM

@pajakd
pajakd merged commit 123e517 into AI-Hypercomputer:slice-main Mar 19, 2026
16 of 18 checks passed
@pajakd
pajakd deleted the fix_logging branch March 19, 2026 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants