Fixed framework logging in master.cpp.

Review: https://reviews.apache.org/r/26159