Bug 3295 - sessionlog does not contain real times
Summary: sessionlog does not contain real times
Status: CLOSED DUPLICATE of bug 5066
Alias: None
Product: Koha
Classification: Unclassified
Component: Architecture, internals, and plumbing (show other bugs)
Version: rel_3_0
Hardware: All All
: PATCH-Sent (DO NOT USE) minor (vote)
Assignee: MJ Ray (software.coop)
QA Contact: Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-05 04:25 UTC by Chris Cormack
Modified: 2012-10-26 00:41 UTC (History)
2 users (show)

See Also:
Change sponsored?: Sponsored
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
Use-strftime-to-format-sessionlog-times.patch (2.44 KB, patch)
2009-06-05 16:25 UTC, Chris Cormack
Details | Diff | Splinter Review
updated for current 3.0.x (2.42 KB, patch)
2010-10-30 02:49 UTC, MJ Ray (software.coop)
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Cormack 2010-05-21 01:08:49 UTC


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

Created an attachment
Use-strftime-to-format-sessionlog-times.patch

The file /tmp/sessionlog contains login and out details. The times weren't displaying for me, instead showing some function of localtime().
               1234 from      127.0.0.1 logged in  at     54.

The attached patch changes the 54 into things like Fri Jun  5 17:22:22 2009.



---- Additional Comments From mjr@ttllp.co.uk 2009-06-15 12:52:54 ----

Patch against [HEAD] also emailed.




---- Additional Comments From gmcharlt@gmail.com 2009-06-15 18:04:40 ----

Pushed patch for HEAD.



---- Additional Comments From chris@bigballofwax.co.nz 2009-12-14 21:34:14 ----

Not totally working
           chris from   192.168.253.20 logged out at       Mon Dec 14 00:21:52 2009 (manually).
               chris from   192.168.253.20 logged in  at                              1.
           H00000113 from   192.168.253.20 logged out at       Mon Dec 14 01:56:32 2009 (manually).

Can you have another crack MJ 



---- Additional Comments From mjr@ttllp.co.uk 2009-12-18 13:24:41 ----

Will do.  More sessionlog calls have been added since that patch was generated.  I believe this is broken again in both HEAD and 3.0.x.




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

This bug was previously known as _bug_ 3295 at http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3295
Imported an attachment (id=1210)

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.
The original assignee of this bug does not have
   an account here. Reassigning to the default assignee
   for the component, chris@bigballofwax.co.nz.
   Previous assignee was mjr@ttllp.co.uk.
Bug reassigned, setting status to "NEW".
   Previous status was "ASSIGNED".
The original submitter of attachment 1210 [details] [review] is unknown.
   Reassigning to the person who moved it here: chris@bigballofwax.co.nz.

Comment 1 MJ Ray (software.coop) 2010-07-07 19:27:06 UTC
Restoring where "Previous assignee was mjr@ttllp.co.uk"
Comment 2 MJ Ray (software.coop) 2010-10-30 02:49:09 UTC
Created attachment 2714 [details] [review]
updated for current 3.0.x
Comment 3 Marcel de Rooy 2010-12-17 14:42:43 UTC
Seems to be a duplicate of bug 5066. That one is closed already.

*** This bug has been marked as a duplicate of bug 5066 ***
Comment 4 MJ Ray (software.coop) 2010-12-17 15:31:32 UTC
Read the Version tag, please.

Shall I REOPEN or change 5066?