Added auto logging to file in /data/logs