[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
Fri Feb 16 14:17:32 CET 2018


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

--- Comment #4 from Mason James <mtj at kohaaloha.com> ---
Created attachment 71752
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=71752&action=edit
Bug 16357 - Plack error logs are not time stamped

to test this patch..

1/ start plack
$ sudo koha-plack --start mylib

2/ tail log file, notice error log has no timestamps :(

$ sudo tail -f /var/log/koha/mylib/plack-error.log
 ...
 Initiating an anonymous session... at /usr/share/koha/lib/C4/Auth.pm line
1294.
 Checking Auth at /usr/share/koha/lib/C4/Auth.pm line 815.

3/ apply patch

4 manually copy new plack file to live location
$ sudo cp ./debian/templates/plack.psgi  /etc/koha/

5/ restart plack
$ sudo koha-plack --restart mylib

6/ tail log file, notice error log now has timestamps :)
$ sudo tail -f /var/log/koha/mylib/plack-error.log
 ...
 2018/02/11 08:56:29 Initiating an anonymous session... at
/usr/share/koha/lib/C4/Auth.pm line 1294.
 2018/02/11 08:56:33 Checking Auth at /usr/share/koha/lib/C4/Auth.pm line 815.

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


More information about the Koha-bugs mailing list