wrapped polling of logfile and setting logLevel in try/except to prevent app from crashing if usb is pulled