syslog-ng can fail after a container is committed

Rebased to apply cleanly to the latest master branch.  So far untested, can anyone say if this patch is still needed with Docker 0.8.1?  If nobody knows yet, I will get back to you soon.