start_syslog_thread
write_to_buf
stop_syslog_thread