Skip to content

ignored action still being loggedΒ #8

@luizkowalski

Description

@luizkowalski

hey πŸ‘‹πŸ»
I have ignored /up in two different ways:

config.silence_healthcheck_path = "/up"
...
config.lograge.ignore_actions = ["Rails::HealthController#show", "Rails::PwaController#manifest"]

and yet my logs are full of this

β”‚ {"time":"2026-03-02T23:10:56.585444438Z","level":"INFO","msg":"Request","path":"/metrics","status":200,"dur":11,"method":"GET","req_content_length":0,"req_content_type": β”‚
β”‚ {"time":"2026-03-02T23:10:57.08511485Z","level":"INFO","msg":"Request","path":"/up","status":200,"dur":4,"method":"GET","req_content_length":0,"req_content_type":"","res β”‚
β”‚ {"time":"2026-03-02T23:10:57.174707667Z","level":"INFO","msg":"Request","path":"/up","status":200,"dur":6,"method":"GET","req_content_length":0,"req_content_type":"","re β”‚
β”‚ {"time":"2026-03-02T23:11:37.088617778Z","level":"INFO","msg":"Request","path":"/up","status":200,"dur":7,"method":"GET","req_content_length":0,"req_content_type":"","re β”‚

i wonder if this is a bug or is there something I'm missing, like a configuration, specific for logstruct instead of using config.lograge.ignore_actions but I didn't find anything in the docs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions