QRecall Community Forum
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Top Downloads] Top Downloads   [Groups] Back to home page 
[Register] Register /  [Login] Login 

Log not sorting properly by date RSS feed
Forum Index » Beta Version
Author Message
Ralph Strauch


Joined: Oct 24, 2007
Messages: 194
Offline
The logs on both my MBP and iMac are putting all my 2016 log entries in between 12/26/15 and 12/27/16, as shown below. This log is from the MBP and I'm also sending a report from the iMac, in case that provides additional information.

Schedule	2015-12-26 15:17:29	       	Action 'Capture MBP-HD to 3rd backup.quanta' set to run at Today 3:17 PM 

Action 2015-12-26 15:17:30 ------- Capture to 3rd backup.quanta
Action 2015-12-26 17:00:47 ------- Verify 3rd backup.quanta
QRecall 2016-01-01 14:33:59 Minutia Cannot connect to scheduler
QRecall 2016-01-01 14:34:01 Installing system components
Schedule 2016-01-01 21:58:03 Action 'Capture MBP-HD to 3rd backup.quanta' set to run at Today 9:58 PM
Action 2016-01-01 21:58:04 ------- Capture to 3rd backup.quanta
Schedule 2016-01-02 11:49:55 Action 'Merge Layers in 2nd backup.quanta' set to run at Today 11:49 AM
Action 2016-01-02 11:49:56 ------- Merge layers in 2nd backup.quanta
QRecall 2016-01-02 12:16:03 Warning Unable to open document 2nd backup.quanta
QRecall 2016-01-02 12:16:18 Warning Unable to open document 2nd backup.quanta
Action 2016-01-02 12:19:27 ------- Verify 2nd backup.quanta
Schedule 2016-01-02 12:24:27 Action 'Merge Layers in 2nd backup.quanta' set to run at Today 12:24 PM
Action 2016-01-02 12:24:28 Minutia Merge layers in 2nd backup.quanta
Action 2016-01-02 12:25:12 Minutia Install
Action 2016-01-02 12:25:20 Minutia Install
QRecall 2016-01-02 12:25:23 Minutia Removed resource link QRecallScheduler
QRecall 2016-01-02 12:25:23 Updating system components
Monitor 2016-01-02 12:25:24 Minutia Cannot connect to scheduler
Schedule 2016-01-02 12:28:53 Action 'Verify 2nd backup.quanta' set to run at Today 12:28 PM
Action 2016-01-02 12:28:54 ------- Verify 2nd backup.quanta
Schedule 2016-01-02 21:38:12 Action 'Capture MBP-HD to 2nd backup.quanta' set to run at Today 9:38 PM
Action 2016-01-02 21:38:13 ------- Capture to 2nd backup.quanta
Schedule 2016-12-28 08:56:27 Action 'Capture MBP-HD to 3rd backup.quanta' set to run at Today 8:56 AM
Action 2016-12-28 08:56:28 ------- Capture to 3rd backup.quanta
Schedule 2016-12-30 14:59:46 Action 'Capture MBP-HD to 3rd backup.quanta' set to run at Today 2:59 PM
Action 2016-12-30 14:59:47 ------- Capture to 3rd backup.quanta
Action 2016-12-31 17:41:16 ------- Recall from 3rd backup.quanta
Action 2016-12-31 17:43:02 ------- Recall from 3rd backup.quanta
Schedule 2016-12-31 17:54:46 Action 'Capture MBP-HD to 3rd backup.quanta' set to run at Today 5:54 PM
Action 2016-12-31 17:54:48 ------- Capture to 3rd backup.quanta
Schedule 2016-12-31 19:07:52 Action 'Capture MBP-HD to 3rd backup.quanta' set to run at Today 7:07 PM
Action 2016-12-31 19:07:53 ------- Capture to 3rd backup.quanta

James Bucanek


Joined: Feb 14, 2007
Messages: 1567
Offline
My bad.

The log entries are property sorted, the problem is that the dates are wrong. What's happened is that the timestamps in the last week of December have the wrong year, 2016-12-27 instead of 2015-12-27, which puts them far into the future.

The date formatter used to create the log entries was erroneously using the "YYYY-MM-dd..." format, when it should have been using "yyyy-MM-dd..." format. The YYYY specifier is the "year designation used in ISO year-week calendar as defined by ISO 8601", whatever the hell that is. Anyway, it's not the calendar year.

I've fixed it, but you'll have to wait until your log records get rotated out before they disappear. If you find it super annoying, just trash all of the log files in ~/Library/Logs/QRecall and restart. If you want to fix this without losing your log history, you'll have to get tricky. You could use an editor to replace all instances of "2016-12-" with "2015-12-", for example.

- QRecall Development -
[Email]
Ralph Strauch


Joined: Oct 24, 2007
Messages: 194
Offline
Ah, thanks! I didn't look closely enough to notice that the late December dates were 2016. Thanks for pointing that out.
 
Forum Index » Beta Version
Go to:   
Mobile view
Powered by JForum 2.8.2 © 2022 JForum Team • Maintained by Andowson Chang and Ulf Dittmer