Skip to content

Make the request logging middleware optional #114

@duffn

Description

@duffn

Make this optional with a configuration setting:

# Logging
insert_before Grape::Middleware::Error, GrapeLogging::Middleware::RequestLogger,
{
logger:,
formatter: GrapeLogging::Formatters::Json.new,
include: [GrapeLogging::Loggers::FilterParameters.new([:password])]
}

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions