View Single Post
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#1668
Originally Posted by marmistrz View Post
I probably still have my gtk2 build (not pygtk) somewhere. Ping me if you need them.
Thanks, will do if my build turns out not to be usable.

Originally Posted by int_ua View Post
Why not compress the log on the fly? I've just found a way to do it:
http://stackoverflow.com/q/26279056/854477
Interesting, thanks! Logs are usually very compressible, so this could help quite a bit.

I think I'll add it, but most probably not enabled by default - while most common Linux editors can directly work with compressed text files, there might still be some other tools or users of other desktop platforms (Windows ?) where the tools could have issues with opening the gzipped logfiles.

Also, I wonder if there is a slightly bigger chance of file corruption - any idea how often does the gzip file flush or if the output might become unreadable if modRana or the device crashes without cleanly closing the file ?

Still, the log file is already a debugging option, so the people using it should already be knowledgeable enough about it to decide if they want the log files to be compressed or not.
__________________
modRana: a flexible GPS navigation system
Mieru: a flexible manga and comic book reader
Universal Components - a solution for native looking yet component set independent QML appliactions (QtQuick Controls 2 & Silica supported as backends)
 

The Following 5 Users Say Thank You to MartinK For This Useful Post: