Modified the logger again because I am having some issues Beocat that I need to observe in more detail.