GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Severity is always set to INFO when using logging logback plugin · Issue #3109 · googleapis/google-cloud-java

Severity is always set to INFO when using logging logback plugin #3109

New issue
Copy link
New issue
Copy link
Closed
Closed
Severity is always set to INFO when using logging logback plugin#3109
Copy link
Assignees
ajaaym
Labels
🚨 criticalP0 critical issue. Requires immediate fixapi: loggingIssues related to the Cloud Logging API.priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Description

@ocervell
ocervell
opened on Mar 29, 2018
Issue body actions

I use the google-cloud-logging-logback plugin and the logs are forwarded properly to the ingestion agent (fluentd).
However, the log level seems to not be picked up and the 'severity' field always shows as 'INFO' in Stackdriver, and this for any logs no matter their original level.
Any idea how to configure the logback.xml so that the severity is correctly reflected in Stackdriver Logging ?

Reacted by Baks Farayev, Felipe Lascaray, Maciek Marczuk, Robin Kuivinen, Matt Kindy, Carlos Perez and Fabian Rindlisbacher

Activity

  1. JustinBeckwith
    added
    🚨 criticalP0 critical issue. Requires immediate fix
    triage meI really want to be triaged.
    on Jun 8, 2018
  2. JustinBeckwith
    added
    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    priority: p2Moderately-important priority. Fix may not be included in next release.
    and removed
    🚨 criticalP0 critical issue. Requires immediate fix
    triage meI really want to be triaged.
    on Jun 20, 2018
  3. lascarayf commented on Aug 13, 2018

    @lascarayf
    lascarayf
    on Aug 13, 2018
    More actions

    Hi, Is there a solution for this problem?

  4. JustinBeckwith
    added
    🚨 criticalP0 critical issue. Requires immediate fix
    on Sep 25, 2018
  5. chingor13
    added
    api: loggingIssues related to the Cloud Logging API.
    on Oct 9, 2018
  6. SergeyZadorozhniy commented on Nov 16, 2018

    @SergeyZadorozhniy
    SergeyZadorozhniy
    on Nov 16, 2018
    More actions

    Looks like it's already solved.
    Have tested with different levels(info, warn, error, ..) all levels transferred correctly into Stackdriver.

    Could you please provide some code example?
    To be sure the problem has been fixed.

  7. ajaaym commented on Dec 6, 2018

    @ajaaym
    ajaaym
    on Dec 6, 2018
    Contributor
    More actions

    Closing this assuming its fixed as per comment from @SergeyZadorozhniy. Please this is still an issue.

  8. ajaaym
    closed this as completedon Dec 6, 2018
  9. JustinBeckwith
    assigned
    ajaaym
    on Feb 1, 2021
  10. garfieldnate commented on Dec 1, 2021

    @garfieldnate
    garfieldnate
    on Dec 1, 2021
    More actions

    I don't think this is fixed by default; this configuration is required:

    <encoder class="net.logstash.logback.encoder.LogstashEncoder">
        <fieldNames>
            <level>severity</level>
        </fieldNames>
    </encoder>
    

    We override the field name for level to severity, as expected by Stackdriver.

  11. chingor13
    added a commit that references this issue on Feb 20, 2026

    sample: Add Arrow sample for Write API (#3109)

    cca8649
  12. suztomo
    added a commit that references this issue on Mar 9, 2026

    deps: update dependency com.google.cloud:google-cloud-shared-dependen…

    5ad778c
  13. lqiu96
    added a commit that references this issue on Mar 20, 2026

    sample: Add Arrow sample for Write API (#3109)

    2b7e827
  14. chingor13
    added 4 commits that reference this issue on Mar 24, 2026

    deps: update google auth library dependencies to v1.24.1 (#3109)

    bd5236a

    chore(main): release 2.44.0 (#3074)

    65df6fd

    chore(spanner): update instance id (#3109)

    239ae53

    chore: samples overhaul (#3109)

    794c340
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @ajaaym
    ajaaym

Labels

🚨 criticalP0 critical issue. Requires immediate fixapi: loggingIssues related to the Cloud Logging API.priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.