Added config for level of logging