in reply to Proper Logging in Forked Processes

If you open a local file for append, and your writes are relatively short (depends on your OS, but probably something less than 4K), writes will be atomic without any additional locking.