Even if the append is atomic (I don't think so), it may not give you the results you need. For example, if the log contains a timestamp, it seems reasonable to expect the addition of later logs after older logs. With concurrency, this guarantee is not fulfilled - if several processes are waiting to write to the same file, any of them can get a write lock, and not just the oldest of them. In this way, logs can be recorded from a sequence.
, , , , . , . , , , , , .