Do not use syslog in failover

Ticket:	#5020
(cherry picked from commit 16eb16a6a4dd561c58e14a43baf1ef8826e9fa5d)