-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set log output to stdout on Heroku hosts (#509)
When the host is detected as a Heroku dyno (env var DYNO is set), we default the log output to "stdout". We have the same behavior in our other integrations. Heroku has its own log drain to read all the app logs, and it's difficult to access the `appsignal.log` file on dyno's, as we've noticed for the diagnose report as well. I've not made an exception for Dokku, as we've recently done for the host metrics. Dokku also sets a DYNO env var and thus the log will default to "stdout" on Dokku too. We've had no reports about problems with this in the past in our other integrations. Note that this config option only applies to the process output and extension logger. The agent will always log to a file as it's a separate process. Fixes #495
- Loading branch information
Showing
4 changed files
with
39 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
bump: "patch" | ||
--- | ||
|
||
Default log output to app STDOUT on Heroku dyno's. This makes the AppSignal logs available in the Heroku app's logs. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters