Allow logging to be toggled for addon