Bugfix in log_msg.

File name without path determined correctly now.