Update msglog.cpp