Bug 3296

Summary: replace sessionlog with Perl4Log implementation
Product: Koha Reporter: Chris Cormack <chris>
Component: AuthenticationAssignee: Bugs List <koha-bugs>
Status: CLOSED INVALID QA Contact: Bugs List <koha-bugs>
Severity: enhancement    
Priority: P3 CC: dcook, dpavlin, katrin.fischer
Version: master   
Hardware: All   
OS: All   
Change sponsored?: Seeking cosponsors Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Chris Cormack 2010-05-21 01:08:49 UTC


---- Reported by mjr@ttllp.co.uk 2009-06-05 16:33:33 ----

The file /tmp/sessionlog used by C4::Auth seems like an untracked logfile in a strange non-standard location.

16:46:56 <slef> should /tmp/sessionlog be replaced by C4::Log calls?
16:47:46 <gmcharlt> slef: I think /tmp/sessionlog should be replaced, yes
16:48:06 <slef> by C4::Log calls or otherwise?
16:48:27 <gmcharlt> C4::Log or perhaps the Log4Perl proposed by acmoore a while
back
16:48:46 <gmcharlt> my reservation about C4::Log is if we start logging all sessions in action_logs
16:48:54 <slef> I don't recall that proposal. Looking for URL
16:49:08 <gmcharlt> we really ought to write a purge job for that table
16:50:14 <slef> http://www.nabble.com/-RFC--Using-Log4perl-to-extend-and-improve-logging-and-debugging-td19227795.html
16:50:23 <gmcharlt> slef: with proposed patch at http://lists.koha.org/pipermail/koha-patches/2008-September/001689.html
[...]
17:29:08 <slef> gmcharlt: is Perl4Log a 3.2 goal or later?
17:29:33 <gmcharlt> slef: getting it added is reasonable for 3.2
17:29:51 <gmcharlt> getting all logging handled by it is probably post 3.2
17:30:07 <bigbrovar> thanks guys   me = very happy now =))
17:30:09 <slef> and sessionlog in particular?
17:30:09 <gmcharlt> do you have any opinion on the framework?
17:30:24 <gmcharlt> getting it to handle sessionlog would be quick
17:30:26 <gmcharlt> so yes
17:30:27 <slef> not yet but anything is better than open >>
17:30:39 <slef> filing bug



--- Bug imported by chris@bigballofwax.co.nz 2010-05-21 01:08 UTC  ---

This bug was previously known as _bug_ 3296 at http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3296

Unknown Component Authentication
   Using default product and component set in Parameters 
Actual time not defined. Setting to 0.0
The original reporter of this bug does not have
   an account here. Reassigning to the person who moved
   it here: chris@bigballofwax.co.nz.
   Previous reporter was mjr@ttllp.co.uk.

Comment 1 Katrin Fischer 2019-05-04 20:39:07 UTC
Is this something we are aiming for?
Comment 2 David Cook 2022-08-22 05:53:19 UTC
It looks like /tmp/sessionlog isn't used anymore, and Log4Perl has slowly been gaining traction over the past few years.