More logging.
Config option changed to allow choosing desired logging level.