[Koha-bugs] [Bug 16357] Plack error logs are not time stamped

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 28 22:32:04 CET 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16357

--- Comment #35 from Liz Rea <wizzyrea at gmail.com> ---
So my test plan was

* make sure the modules required were installed
Plack::Middleware::LogErrors
Plack::Middleware::LogWarn
* Copy the files in as before
sudo cp debian/templates/plack.psgi /etc/koha/kohadev/plack.psgi
sudo cp etc/log4perl.conf /etc/koha/sites/kohadev/log4perl.conf
sudo cp debian/templates/log4perl-site.conf.in /etc/koha/log4perl-site.conf.in
* EDIT those files once in situ to reflect the paths in your install - for
kohadevbox (and any debian instance based test environment) it'll be
/var/log/koha/kohadev/plack-error.log
* Restart plack (kohadevbox is restart_all)

kohadevbox has a way to copy in the debian files but I didn't use that -  in
the misc4dev there is a "cp_debian_files.pl" which updates the debian files. It
might be good to try it.

Liz

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list