log & connection

error log update and live connection