pub fn init_logging(config: &Config) -> Result<()>
Initialize the logging system based on configuration