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

Logging #10

Open
kbevers opened this issue Oct 14, 2019 · 1 comment
Open

Logging #10

kbevers opened this issue Oct 14, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@kbevers
Copy link
Contributor

kbevers commented Oct 14, 2019

WEBPROJ needs to be able to log errors. This is slightly complicated by the fact that the application may run on several simultaneous docker instances. What is the best approach to logging? I see two possible solutions:

  1. File based. Each docker container creates its own log file that is mapped to a file server outside the container. To avoid conflicting log files from two or more containers the file should include (part of) the container UUID.

  2. Database. Log all errors to a common database outside the container.

@kthy
Copy link

kthy commented Dec 12, 2019

I'd suggest setting up an ELK stack and spool the container logs into it. E.g. as per https://logz.io/blog/docker-logging/

@kbevers kbevers added this to the 1.1 milestone Jan 7, 2020
@kbevers kbevers added the enhancement New feature or request label Jan 7, 2020
@kbevers kbevers removed this from the 1.1.0 milestone May 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants