KvdV49 / propforth

Automatically exported from code.google.com/p/propforth
1 stars 0 forks source link

Logger 2 Existing logfile #210

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. start logger
2. set date/time; begin logging
3. reboot
4. set date/time (later the same day

What is the expected output? What do you see instead?

Expect to log to the existing log file. 

logger creates day +1 logfile, uses that for logging,
The existing log file for the correct day is no longer used

Please use labels and text to provide additional information.

Original issue reported on code.google.com by prof.bra...@gmail.com on 21 Nov 2013 at 1:36

GoogleCodeExporter commented 8 years ago
Perhaps this is working off UTC instead of local time?

Time zone is -6 CST; clock time is 19:43

Original comment by prof.bra...@gmail.com on 21 Nov 2013 at 1:44

GoogleCodeExporter commented 8 years ago
Title should be EXISTING Log

Original comment by prof.bra...@gmail.com on 21 Nov 2013 at 2:57

GoogleCodeExporter commented 8 years ago

Original comment by prof.bra...@gmail.com on 21 Nov 2013 at 2:57

GoogleCodeExporter commented 8 years ago
Been testing the logger for 6 days running now, works flawlessely.

Make sure you startLogger again after setting the time, this will ensure the 
file beign use is correct.

All these examples are set to use local time.

There is an issue where the last entry in the days file is from the next day. 
Lst 2 entries from yesterdays file:

2013-11-21_23:59:59.645015 CNT REGISTER: D375FE75 timeStamp: 1385107199662524 
unixTimeStamp: 1385107199
2013-11-22_00:00:00.645016 CNT REGISTER: D83AB1F5 timeStamp: 1385107200662526 
unixTimeStamp: 1385107200

Original comment by salsa...@gmail.com on 22 Nov 2013 at 5:15