Skip to content
This repository was archived by the owner on Nov 10, 2024. It is now read-only.
This repository was archived by the owner on Nov 10, 2024. It is now read-only.

Post: getting rid of Rails logging when you don't care or when you want to keep something from showing up #12

@tamouse

Description

@tamouse

Using Rails.logger.silence around an operation.

Rails.logger.silence do
  #noisy operation that doesn't need to be logged
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    ideaAn idea for a blog post

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions