multiscreen logging

Bhushan Shah bshah at kde.org
Wed Jul 27 11:44:21 UTC 2016


On Wed, Jul 27, 2016 at 01:35:22PM +0200, Sebastian Kügler wrote:
> 
> Potentially, yes. Is it a problem? No.
> 
> The log file isn't critical, and *usually* components are able to write in 
> order (appending to a file doesn't take long). If the log ends up being 
> slightly corrupted, that's bad luck. Instead of implementing complex merging 
> tools or file-locking mechanism, having just these processes write to the same 
> file and cross fingers works well enough. It's a debugging tool, file 
> integrity is just not that important.
> 

I wonder if code is failsafe in case of such clash while opening
logfile? Because for sure, we don't want another crashes.. ;-)


-- 
Bhushan Shah

http://bhush9.github.io
IRC Nick : bshah on Freenode


More information about the Plasma-devel mailing list