fixed log_command and added test for daemon argument
Merge branch 'not_daemon'