Hello Guest, if you are reading this it means you have not registered yet. Please take a second, Click here to register, and in a few simple steps you will be able to enjoy our community and use our OpenViX support section.
Page 4 of 6 FirstFirst ... 23456 LastLast
Results 46 to 60 of 82

Thread: Debug logs time format

  1. #46
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,277 Times in 1,089 Posts
    Quote Originally Posted by twol View Post
    I spend a lot of the time debug‘ing especially at the moment and the ability to run without any time stamp is a real positive, means I can run side by side comparisons... so by default my setting is option 0.
    That's you analysing your debug logs, how you do that is fine, but that's not what happens when Mr Average posts a debug log.

    It's a pointless discussion anyway, the decision has already been taken.

  2. #47
    abu baniaz's Avatar
    Title
    Moderator
    Join Date
    Sep 2010
    Location
    East London
    Posts
    23,360
    Thanks
    6,442
    Thanked 9,160 Times in 6,235 Posts
    Quote Originally Posted by twol View Post
    I spend a lot of the time debug‘ing especially at the moment and the ability to run without any time stamp is a real positive, means I can run side by side comparisons... so by default my setting is option 0.
    You are not using the default or proposed, so you are not affected. Anyway, for people who want to compare difference in log output, I attach different layout of debug logs.

    Not as if many people will know how to convert the timestamps, so boot time on its own is useless barring a few people. The decision has been made, so that's that. Should there be a change in position, my suggestion is now to make default = local time. Number of characters is the same!

    Edit:
    For easier comparison

    Code:
    Boot
    <136448.3578> [eDVBServicePMTHandler] tune failed.
    
    Local time
    16:36:12.4169 [eDVBServicePMTHandler] tune failed.
    
    Boot + local time
    <  1589.0473> 16:59:53.7282 [eDVBServicePMTHandler] tune failed.

  3. #48
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,790
    Thanks
    237
    Thanked 1,658 Times in 1,306 Posts
    Quote Originally Posted by twol View Post
    I spend a lot of the time debug‘ing especially at the moment and the ability to run without any time stamp is a real positive, means I can run side by side comparisons...
    Stripping them out is trivial.
    And if you're comparing them you already have copies, so a quick awk command solves your problem on those occasions when you need it.
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  4. #49
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,629
    Thanks
    2,006
    Thanked 4,953 Times in 3,274 Posts
    Quote Originally Posted by birdman View Post
    Stripping them out is trivial.
    And if you're comparing them you already have copies, so a quick awk command solves your problem on those occasions when you need it.
    Why strip them if you can just turn them off?
    Help keep OpenViX servers online.Please donate!

  5. #50
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,277 Times in 1,089 Posts
    Quote Originally Posted by Huevos View Post
    Why strip them if you can just turn them off?
    My debug logs have them switched on, so you (or whoever) would perhaps need to strip them off.

    Code:
    		("0", _("none")),
    		("1", _("boot time")),
    		("2", _("local time")),
    		("3", _("boot time and local time")) ])
    Maybe make "3" "local time and boot time", then a simple scroll right (or is it left?) will eliminate the local time for anyone who wants to.

  6. #51
    abu baniaz's Avatar
    Title
    Moderator
    Join Date
    Sep 2010
    Location
    East London
    Posts
    23,360
    Thanks
    6,442
    Thanked 9,160 Times in 6,235 Posts

    Debug logs time format

    How does changing default prevent others from turning the stamps off or using any format they want?

  7. #52

    Title
    ViX Beta Tester
    Join Date
    Nov 2017
    Posts
    888
    Thanks
    103
    Thanked 480 Times in 285 Posts
    Quote Originally Posted by ccs View Post
    it sounds like I'm the only one who finds them useful
    No, I use local time only in my debug logs too. It makes it much easier to ensure I'm looking at the correct debug output from a test run in the console. If I'm looking at performance, then I chuck a profile trace around the code I'm interested in (using Tools/Trace.py) and filter the debug output using grep.

  8. The Following 2 Users Say Thank You to simonc For This Useful Post:

    abu baniaz (30-10-20),ccs (30-10-20)

  9. #53
    BrokenUnusableAccount
    Quote Originally Posted by Huevos View Post
    Why strip them if you can just turn them off?
    So you can get them back later if you need them.

  10. #54
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,790
    Thanks
    237
    Thanked 1,658 Times in 1,306 Posts
    Quote Originally Posted by Huevos View Post
    Why strip them if you can just turn them off?
    Because you then might wish to know what they were in retrospect, but can't.
    Having something you can remove is much better than not having something you can't add.
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  11. #55
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,629
    Thanks
    2,006
    Thanked 4,953 Times in 3,274 Posts
    Ok, well set your boxes up how you want them. That is why this is a user option.
    Help keep OpenViX servers online.Please donate!

  12. #56
    abu baniaz's Avatar
    Title
    Moderator
    Join Date
    Sep 2010
    Location
    East London
    Posts
    23,360
    Thanks
    6,442
    Thanked 9,160 Times in 6,235 Posts
    The default should be the most useful one to majority of people.

  13. #57
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,277 Times in 1,089 Posts
    Quote Originally Posted by abu baniaz View Post
    How does changing default prevent others from turning the stamps off or using any format they want?
    Missed this, I was posting at the same time.

    Nothing to stop others from changing the timestamp to whatever they want.

    Lots of users don't even know what a crashlog is until they're asked to attach one, so they always end up with the default setting.

  14. #58
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,277 Times in 1,089 Posts
    Had a look at the debug log in this post, lots going on, loads of timers and 2 recordings ending up zero length.

    No chance (for me) working out what was going on, but local time might have helped.


    https://www.world-of-satellite.com/s...l=1#post504785

  15. #59
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,790
    Thanks
    237
    Thanked 1,658 Times in 1,306 Posts
    Quote Originally Posted by ccs View Post
    No chance (for me) working out what was going on, but local time might have helped.
    You can work it all out from this line:

    < 37.7348> [Timezones] Local time is 'Wed 04-Nov-2020 18:02:19' - UTC time is 'Wed 04-Nov-2020 18:02:19'.
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  16. #60
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,277 Times in 1,089 Posts
    Quote Originally Posted by birdman View Post
    You can work it all out from this line:
    And what about the other 30,615 lines ??

Page 4 of 6 FirstFirst ... 23456 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.