polls door access system and writes accesses to local log-file and in a SQL-Database