fix logging to remote server

Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>