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

Consider updating severity levels for MozLog #69

Open
ncloudioj opened this issue Jul 25, 2023 · 2 comments
Open

Consider updating severity levels for MozLog #69

ncloudioj opened this issue Jul 25, 2023 · 2 comments

Comments

@ncloudioj
Copy link

As more of our services have been migrated to GCP, MozLog's severity levels are causing issues as they're different from those of GCP Cloud Logging. Dockerflow-compliant services need to remap SLs in order for GCL to render log records properly.

Is it time to update MozLog's SLs to match against GCL now?

@jasonthomas @mostlygeek @jbuck WDYT?

@mostlygeek
Copy link
Contributor

mostlygeek commented Jul 26, 2023

@grahamalama is also looking into this, see mozilla-it/ctms-api#771.

I think it's the right time to have this discussion. Many things have changed since the mozlog spec was created.

That said, the severity levels map almost exactly.

MozLog uses syslog severity levels:
image

these are the GCL ones:

image

@ncloudioj
Copy link
Author

Yep, the severity levels match exactly between the two, we just need to update the level values accordingly so that GCL can consume/render them properly.

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

No branches or pull requests

2 participants