http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7885

          Priority: P5 - low
 Change sponsored?: ---
            Bug ID: 7885
          Assignee: [email protected]
           Summary: Change filename of TransferLog suggested by packages
                    to fit with logrotate
        QA Contact: [email protected]
          Severity: enhancement
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to