[koha-commits] main Koha release repository branch 3.22.x updated. v3.22.05-7-gddd1bbe

Git repo owner gitmaster at git.koha-community.org
Fri Apr 1 14:58:26 CEST 2016


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, 3.22.x has been updated
       via  ddd1bbebeadc3bed0fd592bc04621a0dc3fb08c6 (commit)
      from  bd6e5a4c32496c94b0f90010fdc6b8dc047ea64f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ddd1bbebeadc3bed0fd592bc04621a0dc3fb08c6
Author: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Date:   Mon Feb 1 13:48:06 2016 +0100

    Bug 15713: Restart zebra when rotating logfiles
    
    Somehow, it may happen that Zebra keeps writing to the old rotated logfile
    with extension .log.1. I must add that although I saw that happen (a new
    log was created and was empty, while Zebra kept writing to log.1 for weeks),
    I cannot reproduce it every time.
    
    By stopping the zebra server in prerotate and starting it again in
    postrotate, this should not happen at all. In practice, this implies that
    your Zebra server is restarted once a week.
    
    Note: The existing sharedscripts directive makes sure that these actions
    are not executed for all individual logfiles but once for all matching
    logfiles (even when running multiple instances).
    
    Test plan:
    [1] Apply the change in koha-common.logrotate to the file
        /etc/logrotate.d/koha-common.
    [2] Run logrotate -f /etc/logrotate.conf (forcing a logrotate).
    [3] Check in zebra-error.log that your zebra server was stopped
        ('killed by signal 15').
    [4] Verify that your Zebra server runs (read: has been restarted).
        (Do a search..)
    
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    Signed-off-by: Marc Véron <veron at veron.ch>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    
    Signed-off-by: Brendan Gallagher brendan at bywatersolutions.com
    (cherry picked from commit af47f00636848e1115b08652abcaec6b789bf672)
    Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>

-----------------------------------------------------------------------

Summary of changes:
 debian/koha-common.logrotate |    4 ++++
 1 file changed, 4 insertions(+)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list