Moved logger to initBase