fix log collector bugs
Merge pull request #14 from altsai/fix_log_collector_bugs

fix log collector bugs