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

Wrong log path for apache #61

Closed
vepito opened this issue Sep 16, 2019 · 1 comment
Closed

Wrong log path for apache #61

vepito opened this issue Sep 16, 2019 · 1 comment

Comments

@vepito
Copy link

vepito commented Sep 16, 2019

In Dockerfile you wrote

RUN ln -sf /proc/1/fd/1 /var/log/apache2/access.log
&& ln -sf /proc/1/fd/2 /var/log/apache2/error.log

Apache cannot start on my ubuntu18.04 system because the /proc/1 path does not exists.

According to https://docs.docker.com/v17.09/engine/admin/logging/view_container_logs/ the right log path is starting with /prof/self.

And I confirm this works fine on my system.

@Overv
Copy link
Owner

Overv commented Sep 17, 2019

Fixed in b82e37b thanks to your link.

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

No branches or pull requests

2 participants