fixing issue causing only debug logging to be used.