[Bug 674930] Logging to a file causes loss of logs when forking

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Nov 5 00:32:52 PST 2013


https://bugzilla.gnome.org/show_bug.cgi?id=674930
  GStreamer | gstreamer (core) | 0.10.x

Sebastian Dröge (slomo) <slomo> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW
                 CC|                            |slomo at coaxion.net

--- Comment #3 from Sebastian Dröge (slomo) <slomo at coaxion.net> 2013-11-05 08:32:46 UTC ---
Yeah, there wasn't really something that touched this code. Writing to the same
file from multiple processes at the same time just has this behaviour unless
you explicitly synchronize the processes or just use different files.

I think something like Vincent's suggestion to use %p makes sense, and
additionally lock the file so that if it's still the same file only the first
process can ever write to it.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list