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

Disable color not working for default logs #246

Open
gugaiz opened this issue Oct 28, 2024 · 1 comment
Open

Disable color not working for default logs #246

gugaiz opened this issue Oct 28, 2024 · 1 comment

Comments

@gugaiz
Copy link

gugaiz commented Oct 28, 2024

Environment

  • Ruby Version: 3.2.2
  • Semantic logger version: 4.16
  • Application/framework names and versions: Rails 6.1.7.4, Puma: 5.6.9
  • Rails Semantic Logger Version: 4.17.0.

Description

I am trying to disable color on default log but it is not working, I have on my config file

config.colorize_logging = false

but the default log is still showing with color

@gugaiz
Copy link
Author

gugaiz commented Oct 29, 2024

I found that it works only if I do it on config/application.rb. Is there a way to do this on its own config file?

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

1 participant