commit | ca9108cdebbbd284ae3ce22c6c451127b3c83847 | [log] [tgz] |
---|---|---|
author | Matthias Maennich <maennich@google.com> | Mon Nov 29 16:55:26 2021 +0000 |
committer | Matthias Maennich <maennich@google.com> | Thu Dec 02 15:54:52 2021 +0000 |
tree | aa46700ff5b11f7639312006651918ff111ba04c | |
parent | 9e4ae491668ef0f82bbdd0555bf415a500da828d [diff] |
interceptor: avoid concurrency on the command log Using the protobuf util to serialize to the stream can lead to corrupted intermediate logs due to concurrency. Ensure only one process is writing to the log file at a time by directly writing to the log file in a single write call. Signed-off-by: Matthias Maennich <maennich@google.com> Change-Id: I043f349c130cfe307bd51030a1708c6afd122fdb