logging fix - no more logging from outside