log_message BUG!

you've forgotten to copy _log_message function from (X) :)