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

Startup and shutdown logs not json #67

Open
mika018 opened this issue Nov 23, 2021 · 0 comments
Open

Startup and shutdown logs not json #67

mika018 opened this issue Nov 23, 2021 · 0 comments

Comments

@mika018
Copy link
Contributor

mika018 commented Nov 23, 2021

At the moment startup and shutdown logs are not in json format:

=> Booting Puma
=> Rails 5.2.6 application starting in production 
=> Run `rails server -h` for more startup options
{"level":"INFO","ts":"2021-11-23T10:04:36.947Z","message":"Raven 3.1.2 ready to catch errors","rails":{"environment":"production"}}
Puma starting in single mode...
* Puma version: 5.5.1 (ruby 2.6.6-p146) ("Zawgyi")
*  Min threads: 0
*  Max threads: 5
*  Environment: production
*          PID: 1
* Listening on http://0.0.0.0:3000
Use Ctrl-C to stop

and

- Gracefully stopping, waiting for requests to finish
Exiting
``

We would like them as json so that they get through to kibana and we know whether the application shut down gracefully.
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