GNOME Bugzilla – Bug 716474
Log corrupted if viewer launched after library launched
Last modified: 2013-05-01 06:40:00 UTC
---- Reported by jim@yorba.org 2010-06-09 10:43:00 -0700 ---- Original Redmine bug id: 2078 Original URL: http://redmine.yorba.org/issues/2078 Searchable id: yorba-bug-2078 Original author: Jim Nelson Original description: Because we don't want the log file to grow without bounds and we want all instances of Shotwell to log to the same file, we have a situation where the app will overwrite an existing file at startup. If a second app (image viewer) launches while one is running (library mode), the file is deleted again. At the next log write a series of NULs are written followed by the log output. One solution would be to open-write-close the file each time. It might be worth considering writing the log in a background thread if we go this route. ---- Additional Comments From shotwell-maint@gnome.bugs 2013-05-01 11:40:00 -0700 ---- ### History #### #1 Updated by Adam Dingle over 3 years ago * **Priority** deleted (<strike>_High_</strike>) #### #2 Updated by Adam Dingle over 3 years ago * **Status** changed from _Open_ to _Review_ * **Assignee** changed from _Anonymous_ to _Jim Nelson_ We discussed, and have decided to create the log file only when running in normal (not direct-edit) mode. #### #3 Updated by Jim Nelson over 3 years ago * **Status** changed from _Review_ to _5_ * **Resolution** set to _fixed_ * **% Done** set to _100_ #### #4 Updated by Charles Lindsay 7 months ago * **Status** changed from _5_ to _Fixed_ --- Bug imported by chaz@yorba.org 2013-11-25 21:46 UTC --- This bug was previously known as _bug_ 2078 at http://redmine.yorba.org/show_bug.cgi?id=2078 Unknown Component Using default product and component set in Parameters Unknown version " in product shotwell. Setting version to "!unspecified". Unknown milestone "unknown in product shotwell. Setting to default milestone for this product, "---". Setting qa contact to the default for this product. This bug either had no qa contact or an invalid one.