Initialize logging system before using it.