use a log_file if syslog is disabled

Change-Id: Ie4625c6a396267f9bb91f52f7431ff8b8727a045