[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
Wed Mar 6 12:08:51 CET 2019


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

p.sztuczynski at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |p.sztuczynski at gmail.com

--- Comment #30 from p.sztuczynski at gmail.com ---
After applying this patch
:https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=77533 i had the
same problem. 

Make sure all the files defined in log4perl.conf exist and are writable. In my
case, plack is logging into /var/log/koha/plack-error.log (which makes sense -
this is the file defined in starman parameters) while log4perl.conf has

log4perl.appender.INTRANET.filename=/var/log/koha/intranet-error.log
[..]
log4perl.appender.OPAC.filename=/var/log/koha/opac-error.log
[..]
log4perl.appender.PLACK.filename=/var/log/koha/plack-error.log
[..]

manually creating those and making them writable seems to fix the issue. Plack
logs now are timestamped: 

[2019/03/06 12:06:57] [WARN] Use of uninitialized value in subroutine entry at
/usr/share/perl5/URI/Escape.pm line 184.
[2019/03/06 12:07:10] [WARN] Use of uninitialized value in concatenation (.) or
string at /usr/share/koha/intranet/cgi-bin/members/memberentry.pl line 296.
[2019/03/06 12:07:10] [WARN] Use of uninitialized value in concatenation (.) or
string at /usr/share/koha/intranet/cgi-bin/members/memberentry.pl line 296.

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


More information about the Koha-bugs mailing list