-
Notifications
You must be signed in to change notification settings - Fork 0
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
Review logging #178
Comments
It looks like we're not producing any logging at the moment in qa/stage/prod environments. I sprinkled in some log messages into the resources controller and couldn't seem to find them in Some attempt was made in #22 to log to STDOUT per 12 Factor App but maybe we never double checked that logs actually go somewhere useful? I wonder if we should consider aligning sdr-api's logging with what we are doing in other Apache/Rails apps? |
I'm not sure what I'm doing wrong in #597 but configuring lograge doesn't seem to prevent messages like this from popping up in
It looks like the lograge configuration is getting set up correctly?
|
@peetucket will clarify what needs to be done for this ticket, per dev planning mtg |
We're producing huge amounts of logs. This should be reviewed to verify that we are not logging unnecessarily verbosely.
Also, it would be good to update the DevOpsDocs to reflect where logs are going: https://github.com/sul-dlss/DevOpsDocs/blob/master/projects/sdr-api/operations-concerns.md#how-do-i-check-the-logs
Added by Peter (9/5/2023): We believe the correct solution is to use the standard Rails logger instead of STDOUT. The task is to find places that do a puts or use STDOUT and instead use the Rails logger like we do in other apps.
The text was updated successfully, but these errors were encountered: