I ran into a 500 error and so I figured I should setup streaming logs to CloudWatch Logs.
When I entered the rails container sudo podman exec -it forem-rails /bin/bash
and I tried to tail the logs tail -f log/production.log They were empty.
I set up HoneyBadger but this is only a temporary solution.
I could not determine where are the logs in the forem.yml.j2. I can see they should get set to Stdout.
Can I have a Linux command and location where I can observe the logs on a self-hosted production server?
I think if I can observe the logs I'll be able to do the rest myself.
I ran into a 500 error and so I figured I should setup streaming logs to CloudWatch Logs.
When I entered the rails container
sudo podman exec -it forem-rails /bin/bash
and I tried to tail the logs
tail -f log/production.log
They were empty.I set up HoneyBadger but this is only a temporary solution.
I could not determine where are the logs in the forem.yml.j2. I can see they should get set to Stdout.
Can I have a Linux command and location where I can observe the logs on a self-hosted production server? I think if I can observe the logs I'll be able to do the rest myself.