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

No stack traces for read timeouts #85

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

lkiesow
Copy link
Member

@lkiesow lkiesow commented May 6, 2024

We don't need full stack traces for read timeouts. This patch shortens the error logs to:

May 06 12:04:42 vm350.rz.uni-osnabrueck.de opencast-camera-control[523905]: ERROR:occameracontrol.metrics:Failed to communicate with camera 'arec-15-421' @ 'http://camera1-15-421.example.com': HTTPConnectionPool(host='camera1-15-421.example.com', port=80): Read timed out. (read timeout=5)

This fixes #84

We don't need full stack traces for read timeouts.
This patch shortens the error logs to:

```
May 06 12:04:42 vm350.rz.uni-osnabrueck.de opencast-camera-control[523905]: ERROR:occameracontrol.metrics:Failed to communicate with camera 'arec-15-421' @ 'http://camera1-15-421.example.com': HTTPConnectionPool(host='camera1-15-421.example.com', port=80): Read timed out. (read timeout=5)
```

This fixes #84
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

Successfully merging this pull request may close these issues.

No stack traces for read timeouts
1 participant