BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001157 [BusyBox] Other minor always 01-12-07 08:38 02-11-08 10:20
Reporter ericje View Status public  
Assigned To BusyBox
Priority normal Resolution fixed  
Status closed   Product Version svn
Summary 0001157: svlogd: timestamps generated at the wrong time
Description Hi,
svlogd timestamping is not done the right way. It's always one line "behind".

Example:
2007-01-11_20:56:47.94936 Connecting to 10.30.1.1:5000...
2007-01-11_20:56:47.98611 socket write error: Broken pipe
2007-01-12_07:00:03.85420 Connecting to 10.30.1.1:5000...
2007-01-12_07:00:03.88770 connect 10.30.1.1:5000: Connection refused

The "socket write error" actually happened at 2007-01-12 07:00:03 (this is the time 10.30.1.1 was rebooted), not at 2007-01-11 20:56:47.
Additional Information to reproduce:

# mkdir testdir
# echo s100000 >testdir/config
# (date; sleep 5; date; sleep 5; date) | svlogd -tt testdir
# cat testdir/current
2007-01-12_16:35:57.58412 Fri Jan 12 11:35:57 EST 2007
2007-01-12_16:35:57.58523 Fri Jan 12 11:36:02 EST 2007
2007-01-12_16:36:02.63183 Fri Jan 12 11:36:07 EST 2007

as you can see, the timestamps don't match in lines 2 and 3
Attached Files

- Relationships

- Notes
(0004074)
vda
02-11-08 10:20

Fixed in svn; I forgot to close the bug then...
 

- Issue History
Date Modified Username Field Change
01-12-07 08:38 ericje New Issue
01-12-07 08:38 ericje Status new => assigned
01-12-07 08:38 ericje Assigned To  => BusyBox
02-11-08 10:20 vda Status assigned => closed
02-11-08 10:20 vda Note Added: 0004074
02-11-08 10:20 vda Resolution open => fixed


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker