Moved logging section.