The log way is simple for tracing and you can also grep some keywords to find your requirement messages to avoid skimming through the whole large logs. I am not quite sure what's your specific motivation for doing this. Besides the log way, you can also monitor the thread stack for confirming whether it is happening, but maybe it is not very convenient. Another possible way is via the checkpoint metrics which would record the sync/async duration time, maybe it can also satisfy your requirements.
Best, Zhijiang ------------------------------------------------------------------ From:RKandoji <rkand...@gmail.com> Send Time:2020 Jan. 8 (Wed.) 10:23 To:William C <will...@uubeta.com> Cc:user <user@flink.apache.org> Subject:Re: How to verify if checkpoints are asynchronous or sync Thanks for the reply. I will check and enable debug logs specifically for the class that contains this log. But in general logs are already too huge and I'm trying to suppress some of them, so wondering if there is any other way? Thanks, RKandoji On Tue, Jan 7, 2020 at 7:50 PM William C <will...@uubeta.com> wrote: Can you enable debug log to check with that? regards. on 2020/1/8 6:36, RKandoji wrote: > But I'm curious if there is way to verify if the checkpoints are > happening asynchronously or synchronously. >