extract logging from core