Bug 15447 - log4perl.conf does not have __LOG_DIR__ replaced when installing
Summary: log4perl.conf does not have __LOG_DIR__ replaced when installing
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Architecture, internals, and plumbing (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low blocker (vote)
Assignee: Kyle M Hall
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-30 18:55 UTC by Kyle M Hall
Modified: 2019-06-27 09:24 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: Trivial patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
Bug 15447 - log4perl.conf does not have __LOG_DIR__ replaced when installing (1.08 KB, patch)
2015-12-30 19:00 UTC, Kyle M Hall
Details | Diff | Splinter Review
Bug 15447 - log4perl.conf does not have __LOG_DIR__ replaced when installing (1.16 KB, patch)
2015-12-31 11:30 UTC, Jonathan Druart
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Kyle M Hall 2015-12-30 18:55:18 UTC
Since the introduction of Koha::Logger, it appears that the log4perl.conf config file has been broken. The references to __LOG_DIR__ is not being replaced.
Comment 1 Kyle M Hall 2015-12-30 19:00:11 UTC Comment hidden (obsolete)
Comment 2 Jonathan Druart 2015-12-31 11:30:38 UTC
Created attachment 46119 [details] [review]
Bug 15447 - log4perl.conf does not have __LOG_DIR__ replaced when installing

Since the introduction of Koha::Logger, it appears that the
log4perl.conf config file has been broken. The references to __LOG_DIR__
is not being replaced.

Test Plan:
1) Apply this patch
2) Run 'perl Makefile.PL'
3) Run 'make'
4) Open blib/KOHA_CONF_DIR/log4perl.conf with a text editor
5) Note the log file paths are correctly set, and do not have
   __LOG_DIR__ in them.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Comment 3 Jonathan Druart 2015-12-31 11:31:00 UTC
Trivial, skipping QA.
Comment 4 Kyle M Hall 2015-12-31 11:41:08 UTC
Pushed to master!
Comment 5 Julian Maurice 2016-01-03 10:29:10 UTC
Patch pushed to 3.22.x, will be in 3.22.2