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

Update troubleshooting.md, add info concerning logging (stderr). https://github.com/mastodon/documentation/issues/1603 #1604

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions content/en/admin/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ Each response from Mastodon’s web server carries a header with a unique reques

## **I'm not seeing much in my logs. How do I enable additional logging/debugging information?**

Please note that Mastodon (as a 12-factor application), logs to `stdout`, and NOT `#{Rails.root}/log/#{Rails.env}.log` as it's usual in Rails. Watch your console!

By default your logs will show `info` level logging. To see more debugging messages, you can your `.env.production` file to increase the level, for the relevant service:

- **Web/Sidekiq:** Set the value of `RAILS_LOG_LEVEL` to `debug` and then restart the service that you're attempting to troubleshoot.
Expand Down