BS-7214    fix test "BPMLocalTest.incidentIsLogged" on SP for h2, postgres, oracle, sqlserver-ms.
add a flush on the File handler of the FileLoggerIncidentHandler after each publish.