refactoring initialiaze_logger to initialiaze_root_logger and extracting constants