add support_environments to options in add_logger