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 3 of 6 FirstFirst 12345 ... LastLast
Results 31 to 45 of 82

Thread: Debug logs time format

  1. #31
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,796
    Thanks
    237
    Thanked 1,659 Times in 1,307 Posts
    Quote Originally Posted by Huevos View Post
    Date without year is a problem as it is not clear if it is mm/dd or dd/mm.
    ??? Print the month as its short text form (as your original example did). strftime() lets you do anything you want from a template.
    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

  2. #32
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,632
    Thanks
    2,007
    Thanked 4,955 Times in 3,276 Posts
    Couple of build errors:
    https://github.com/Huevos/enigma2/co...d6713b9abca281
    https://github.com/Huevos/enigma2/co...ac8b465844ecf3

    Binary attached.

    Output looks like this:
    Code:
    <    13.047> 14:21:06.2154 [fb] double buffering available!
    <    13.069> 14:21:06.2365 [gFBDC] resolution: 1280x720x32 stride=5120, 17100kB available for acceleration surfaces.
    <    13.069> 14:21:06.2366 [eInit] + (9) gLCD
    <    13.069> 14:21:06.2367 [eFbLCD] /dev/fb1: No such file or directory
    <    13.069> 14:21:06.2368 [eFbLCD] framebuffer /dev/fb1 not available
    <    13.069> 14:21:06.2369 [eDboxLCD] xres=132, yres=64, bpp=8 lcd_type=2
    <    13.069> 14:21:06.2369 [eLCD] (132x64x8) buffer 0x6c2aa8 8448 bytes, stride 132
    <    13.069> 14:21:06.2369 [eLCD] (132x64x8) buffer 0x6b7198 8448 bytes, stride 132
    <    13.069> 14:21:06.2369 [gLCDDC] resolution: 132x64x8 stride=132
    <    13.069> 14:21:06.2370 [eInit] + (9) Font Render Class
    <    13.069> 14:21:06.2370 [Font] Initializing lib...
    Now we need to try make it configurable from UI.
    Attached Files Attached Files
    Help keep OpenViX servers online.Please donate!

  3. #33

    Title
    ViX Beta Tester
    Join Date
    Nov 2017
    Posts
    888
    Thanks
    103
    Thanked 480 Times in 285 Posts
    MIPs one works great. Output with an export ENIGMA_DEBUG_TIME=2 is good:
    Code:
    15:07:31.634 [eInit] - (41) eServiceFactoryDVD
    15:07:31.634 [eInit] - (41) eServiceFactoryWebTS
    15:07:31.635 [eInit] - (41) eServiceFactoryTS
    15:07:31.635 [eInit] - (41) eServiceFactoryHDMI
    15:07:31.635 [eInit] - (41) eServiceFactoryM2TS
    15:07:31.635 [eInit] - (41) eServiceFactoryMP3
    15:07:31.636 [eInit] - (41) eServiceFactoryFS

  4. The Following User Says Thank You to simonc For This Useful Post:

    Huevos (13-04-20)

  5. #34

    Title
    Senior Member
    Join Date
    Nov 2019
    Posts
    221
    Thanks
    28
    Thanked 15 Times in 14 Posts
    I am appreciating all the work here everyone. I am really grateful this is going to happen. :-) :-) :-)

  6. #35
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,632
    Thanks
    2,007
    Thanked 4,955 Times in 3,276 Posts
    This adds configurable option from the user interface...
    https://github.com/Huevos/enigma2/co...91e12d7d0c7511
    Last edited by Huevos; 12-04-20 at 23:25.
    Help keep OpenViX servers online.Please donate!

  7. The Following 3 Users Say Thank You to Huevos For This Useful Post:

    abu baniaz (13-04-20),ccs (12-04-20),Joe_90 (13-04-20)

  8. #36
    abu baniaz's Avatar
    Title
    Moderator
    Join Date
    Sep 2010
    Location
    East London
    Posts
    23,361
    Thanks
    6,442
    Thanked 9,160 Times in 6,235 Posts
    Would there be negative effects of making default = local time + boot?

  9. #37
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,632
    Thanks
    2,007
    Thanked 4,955 Times in 3,276 Posts
    Abu, do whatever you think is good. I just set the default to the current format. In the end there is no default anyway because debug log is disabled by default. So this will only apply when enabling debug logs and saving that screen.
    Last edited by Huevos; 13-04-20 at 09:48.
    Help keep OpenViX servers online.Please donate!

  10. #38
    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
    Would there be negative effects of making default = local time + boot?
    Any chance of making this the default, most crash logs are being posted without this setting, but this format is so much easier to read.

  11. #39
    abu baniaz's Avatar
    Title
    Moderator
    Join Date
    Sep 2010
    Location
    East London
    Posts
    23,361
    Thanks
    6,442
    Thanked 9,160 Times in 6,235 Posts
    Please submit a pull request.

  12. #40
    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
    Please submit a pull request.
    I haven't a clue how to do that. I know you've given details, but ......

  13. #41
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,632
    Thanks
    2,007
    Thanked 4,955 Times in 3,276 Posts
    Quote Originally Posted by ccs View Post
    Any chance of making this the default, most crash logs are being posted without this setting, but this format is so much easier to read.
    No. The added text on the left make logs harder to read due to the need to sideways scroll.
    Last edited by Huevos; 27-10-20 at 20:59.
    Help keep OpenViX servers online.Please donate!

  14. #42
    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
    No. The added text on the left make logs harder to read due to the need to sideways scroll.
    Crikey, never expected that as a reason, still, I don't need to waste my time learning how to submit a pull request.

  15. #43
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,632
    Thanks
    2,007
    Thanked 4,955 Times in 3,276 Posts
    Please explain what help you think it is to debugging having clock output at the start of every line.
    Help keep OpenViX servers online.Please donate!

  16. #44
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,277 Times in 1,089 Posts
    I live in "real time", not "number time", so I can see in the logs when something happened without any guesswork.
    You're able to see if the log corresponds to what a poster is saying without the need to find time updates. Even then it isn't easy.
    If someone says a timer didn't start at 19:00 or a cronjob doesn't work, you can get there straight away.
    Same with autotimer, you can see when it ran.
    Keypresses can be difficult to pinpoint, but in real time you can tie them in with other activity.
    Regular error messages might as well be random error messages without the clock.

    I use notepad++ to view logs, I reckon 90% of lines don't need scrolling, and probably 99% of those lines that do only need scrolling if there is something significant to view.
    But it sounds like I'm the only one who finds them useful, and 99% of the rest of us probably don't even know you can switch the clock on.

  17. The Following User Says Thank You to ccs For This Useful Post:

    abu baniaz (14-11-20)

  18. #45
    twol's Avatar
    Title
    Moderator
    Join Date
    Apr 2012
    Posts
    8,417
    Thanks
    997
    Thanked 2,894 Times in 2,247 Posts
    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.
    Gigablue Quad 4K & UE 4K
    .........FBC Tuners:
    ------------------> GT-Sat unicable LNB to 1.5M dish(28.2E)
    ------------------> Gigablue unicable LNB to 80 cm dish(19.2E)
    .......................> FBC & DVB-S2X into 90cm dish (27.5W) Opticum robust Unicable LNB
    AX HD61, Edision Osmio 4K+, Zgemma H9Combo, Octagon SF8008 , gbtrio4k, h9se using unicable ports
    Zgemma H9 C/S into Giga4K

Page 3 of 6 FirstFirst 12345 ... 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.