new: added init_logging from core