Skip to content

Changes apache log location#151

Merged
mprahl merged 1 commit intomasterfrom
bg-log_location_apache
Aug 5, 2016
Merged

Changes apache log location#151
mprahl merged 1 commit intomasterfrom
bg-log_location_apache

Conversation

@thatarchguy
Copy link
Member

Changes the log location from other_vhost_access_log.log or whatever to postmaster.access.log and postmaster.error.log

Signed-off-by: Kevin kevin@stealsyour.pw

@mprahl
Copy link
Member

mprahl commented Jul 28, 2016

@thatarchguy, can we change it to be in /opt/postmaster/logs? That way in Docker deployments the container doesn't grow in size if the logs folder is a mount.

@thatarchguy
Copy link
Member Author

I was gonna bring this up in slack, but this works better. I cannot get postmaster to create the app logs. I don't know when this regression started, but I have to manually touch /opt/postmaster/logs/postmaster.log & chown it for the logs to start flowing in.

I can see about redirecting the apache log to that folder.

@mprahl
Copy link
Member

mprahl commented Jul 31, 2016

Maybe a permissions issue on the logs directory. I'll investigate.

@mprahl
Copy link
Member

mprahl commented Aug 5, 2016

@thatarchguy, I just tested this in Vagrant and PostMaster didn't have a problem creating the log file. Make sure that /opt/postmaster/logs has write privileges from www-data.

Signed-off-by: Kevin <kevin@stealsyour.pw>

Signed-off-by: Kevin <kevin@stealsyour.pw>
@mprahl mprahl force-pushed the bg-log_location_apache branch from 1a05ddf to e52028f Compare August 5, 2016 17:36
@mprahl mprahl merged commit 1f571fa into master Aug 5, 2016
@mprahl mprahl deleted the bg-log_location_apache branch August 10, 2016 02:00
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.

2 participants