Helper method to wheter use the syslog dataset or not

Ticket:	#5020
(cherry picked from commit 36f2500aff27225daf1b61184b3795ece32cdd38)