Loading clams/jobs.py 0 → 100644 +12 −0 Original line number Diff line number Diff line """ Jobs that should be run regularly by our scheduler (APScheduler). """ from clams import scheduler import logging # Create a child logger of the main app logger app.logger # This way, we inherit the configuration from the main app logger, which we leave mostly # intact. However, we want to decrease the log level specifically for this logger to INFO. logger = logging.getLogger("clams.jobs") logger.setLevel(logging.INFO) Loading
clams/jobs.py 0 → 100644 +12 −0 Original line number Diff line number Diff line """ Jobs that should be run regularly by our scheduler (APScheduler). """ from clams import scheduler import logging # Create a child logger of the main app logger app.logger # This way, we inherit the configuration from the main app logger, which we leave mostly # intact. However, we want to decrease the log level specifically for this logger to INFO. logger = logging.getLogger("clams.jobs") logger.setLevel(logging.INFO)