Changed default beacon log path.
Added background debug logging.