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

access log of pelias container not found #319

Open
MALKARAJ opened this issue Aug 23, 2023 · 6 comments
Open

access log of pelias container not found #319

MALKARAJ opened this issue Aug 23, 2023 · 6 comments
Labels
bug Something isn't working

Comments

@MALKARAJ
Copy link

Hi Team couldn't find the accesss log of pelias api container inside docker

@MALKARAJ MALKARAJ added the bug Something isn't working label Aug 23, 2023
@missinglink
Copy link
Member

What did you try and what were the outcomes?

@MALKARAJ
Copy link
Author

What did you try and what were the outcomes?
i inspected the running docker container and went through /var/log path and couldn't find the access log

@MALKARAJ
Copy link
Author

What did you try and what were the outcomes?

i inspected the running docker container and went through /var/log path and couldn't find the access log

@missinglink
Copy link
Member

missinglink commented Aug 23, 2023

What were you expecting to find in /var/log?

The server is nodejs, not Nginx or Apache and does not produce HTTP logs.

@MALKARAJ
Copy link
Author

MALKARAJ commented Aug 23, 2023

What were you expecting to find in /var/log?

The server is nodejs, not Nginx or Apache and does not produce HTTP logs.

sorry i dont have much knowledge how docker stores the container logs
my question is that
docker logs pelias_api shows the logs, is that logs persist inside the docker container ??

@MALKARAJ MALKARAJ reopened this Aug 23, 2023
@missinglink
Copy link
Member

No, the logs are written to stdio.

This method is preferable because it doesn't require log rotation inside the container and allows you to capture the log and store it externally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants