added the ability to set log-level to false to turn off logging entirely.