Added global config section to allow override of reporting interval etc.
Also added file appender to logging configuration file
Fixed reporting interval reset on packet loss