Add file check

Add file check for sync_db state if log_appender enable

Change-Id: I85ecaac92a7e362dbfd56a7d22b495658a44c99c
Related-prod: PROD-21787  (PROD:21787)
1 file changed