better LOG_OK_CMD handling
0.4.0