[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
Tue Aug 7 16:02:10 CEST 2018


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

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #71752|0                           |1
        is obsolete|                            |
  Attachment #71753|0                           |1
        is obsolete|                            |
  Attachment #71871|0                           |1
        is obsolete|                            |
  Attachment #72290|0                           |1
        is obsolete|                            |
  Attachment #72296|0                           |1
        is obsolete|                            |
  Attachment #73404|0                           |1
        is obsolete|                            |

--- Comment #20 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 77529
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=77529&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