[Koha-bugs] [Bug 7885] New: Change filename of TransferLog suggested by packages to fit with logrotate
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Apr 3 12:32:34 CEST 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7885
Priority: P5 - low
Change sponsored?: ---
Bug ID: 7885
Assignee: robin at catalyst.net.nz
Summary: Change filename of TransferLog suggested by packages
to fit with logrotate
QA Contact: koha.sekjal at gmail.com
Severity: enhancement
Classification: Unclassified
OS: All
Reporter: magnus at enger.priv.no
Hardware: All
Status: NEW
Version: master
Component: Packaging
Product: Koha
debian/templates/apache-site.conf.in creates a per-site Apache conf file that
contains this:
# TransferLog /var/log/koha/__KOHASITE__/opac-access_log
If this line is simply uncommented (by naive people like me), it will result in
an access log like this:
/var/log/koha/mysite/opac-access_log
Now, the packages set up logrotate, but it only looks for this pattern:
/var/log/koha/*/*.log
which results in the TransferLog not getting picked up by logrotate. Is there a
specific reason for doing it this way, or would it be better if we changed the
Apache conf file to this:
# TransferLog /var/log/koha/__KOHASITE__/opac-access.log
---
Apache conf template:
http://git.koha-community.org/gitweb/?p=koha.git;a=blob;f=debian/templates/apache-site.conf.in
logrotate config:
http://git.koha-community.org/gitweb/?p=koha.git;a=blob;f=debian/koha-common.logrotate
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list