Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
nixos/httpd: rename apache log files to have a .log file extension #54529
Motivation for this change
I'd like to be able to easily logrotate apache logs. Other main distros give their apache logs a .log file extension so easy logrotate rules can be written (like /var/log/httpd/*.log). Currently with the way virtual host logs are named there is no straight forward way to logrotate files.
This pull request has been mentioned on Nix community. There might be relevant details there:
changed the title
nixos/httpd: rename apache log files to have a .log file extension
Jan 24, 2019
@danbst sure logrotate understands it, but then logrotate will start rotating the rotation files as they end up in the same directory.
Yeah mod_journald isn't out until apache 2.5 and this change would sure make things better until then...
Let me write up some release notes mentioning the change in file names and we can leave the journald stuff alone until 2.5 is out.