add log to OSD.cc