Log to syslog while running as daemon

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Revert "Remove excessive unneeded logging"

In fact it's necessary. We should change it a bit though.

This reverts commit 309a26446fbf98260eb14e769e5b178b5650c316.
Changed logging a bit

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Fix sequence number's overflow

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Cosmetic

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>