log_message now support printf-like syntax
minor fix