Need for backup log files

Damian McGrath
Damian McGrath Member Posts: 3,051 ✭✭✭
edited November 20 in English Forum

The program really needs to keep backup log files - perhaps the previous 5. 

The general log file is overwritten during any downloads or updates, whenever the program is restarted. This file is important as it is the only way that I can identify what is being downloaded. 

I'm sure the overwriting of the log files during downloads slowed down the ability to identify the recent bug in syncing licences.

Tagged:

Comments

  • Dave Hooton
    Dave Hooton Member, MVP Posts: 35,672 ✭✭✭

    Good idea!

    Dave
    ===

    Windows 11 & Android 13

  • TCBlack
    TCBlack Member Posts: 10,978

    Simple solution in non programmer speak:

    1. On Start Zip logs = "Logos4Logs_%date%time.zip"
    2. Overwrite logs.

    Hmm Sarcasm is my love language. Obviously I love you. 

  • Damian McGrath
    Damian McGrath Member Posts: 3,051 ✭✭✭

    Simple solution in non programmer speak:

    1. On Start Zip logs = "Logos4Logs_%date%time.zip"
    2. Overwrite logs.

    Thomas, when I remember I simply open the log files and resave them under a name with the date included.

    The problem is with the Logos4.log file. This gets overwritten during the process of download and install. I've had to be quick to catch the file in the middle of the whole process and save a copy. 

     

  • TCBlack
    TCBlack Member Posts: 10,978

    So using 7zip file compressor since that's what I had I whipped up a quick little script /batch file to start logos with.

    ____

    C:\Program Files\7-Zip\7z.exe a "c:\Users\tcblack\Documents\Libronix Log Files\log.zip" c:\Users\tcblack\Documents\Libronix Log Files\*.log"

    C:\Users\tcblack\AppData\Local\Logos4\Logos4.exe

    ____

    It's not perfect but it works.

    Hmm Sarcasm is my love language. Obviously I love you. 

  • Simon’s Brother
    Simon’s Brother Member Posts: 6,816 ✭✭✭

    So using 7zip file compressor since that's what I had I whipped up a quick little script /batch file to start logos with.

    ____

    C:\Program Files\7-Zip\7z.exe a "c:\Users\tcblack\Documents\Libronix Log Files\log.zip" c:\Users\tcblack\Documents\Libronix Log Files\*.log"

    C:\Users\tcblack\AppData\Local\Logos4\Logos4.exe

    ____

    It's not perfect but it works.


     

    Nicely done, but keeping with L4's philosophy we shouldn't need to do things under the hood, it should be handled automatically by a future release

  • Damian McGrath
    Damian McGrath Member Posts: 3,051 ✭✭✭

     it should be handled automatically by a future release

    It should happen in Beta 4 for the sake of Beta testing. We would not need to reproduce so many crashes if we had a few backup logs.

     

    Thomas,

    Thanks for the workaround. 

  • Simon’s Brother
    Simon’s Brother Member Posts: 6,816 ✭✭✭

     it should be handled automatically by a future release

    It should happen in Beta 4 for the sake of Beta testing. We would not need to reproduce so many crashes if we had a few backup logs.

     

    Thomas,

    Thanks for the workaround. 


     

    In an ideal world yes, I agree,  but whether it actually can be included for b4 drop I don't know and so left it open to what future release meant to the logos staff, if they want to take up this suggestion.