Skip to content

Commit

Permalink
fix(integration-test): separate dswx-s1 tests
Browse files Browse the repository at this point in the history
Refs #705
  • Loading branch information
chrisjrd committed Mar 1, 2024
1 parent 4f6abcb commit 97b3af6
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions data_subscriber/daac_data_subscriber.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,11 @@

@exec_wrapper
def main():
configure_logger()
asyncio.run(run(sys.argv))


def configure_logger(args):
global logger
loglevel = "DEBUG" if args.verbose else "INFO"
logging.basicConfig(level=loglevel)
logger.info("Log level set to " + loglevel)

def configure_logger():
logger_hysds_commons = logging.getLogger("hysds_commons")
logger_hysds_commons.addFilter(NoJobUtilsFilter())

Expand All @@ -76,7 +72,6 @@ async def run(argv: list[str]):
parser = create_parser()
args = parser.parse_args(argv[1:])

configure_logger(args)
validate_args(args)

es_conn = supply_es_conn(args)
Expand Down

0 comments on commit 97b3af6

Please sign in to comment.