Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust apscheduler logger #199

Merged
merged 9 commits into from
Feb 10, 2019
Merged

Adjust apscheduler logger #199

merged 9 commits into from
Feb 10, 2019

Conversation

circa10a
Copy link
Member

@circa10a circa10a commented Feb 10, 2019

Address #194

No loglevel set:

~/Desktop/code/ouroboros adjust_apscheduler_logger
❯ python3 ouroboros
2019-02-10 10:53:03 : INFO : ouroboros : Version: 1.2.0-develop
2019-02-10 10:53:03 : INFO : dockerclient : No containers are running or monitored on ****************.sock

With info:

~/Desktop/code/ouroboros adjust_apscheduler_logger
❯ python3 ouroboros -l info
2019-02-10 10:53:50 : INFO : ouroboros : Version: 1.2.0-develop
2019-02-10 10:53:50 : INFO : dockerclient : No containers are running or monitored on ********.sock

With debug:

~/Desktop/code/ouroboros adjust_apscheduler_logger 14s
❯ python3 ouroboros -l debug
2019-02-10 10:54:07 : INFO : ouroboros : Version: 1.2.0-develop
2019-02-10 10:54:07 : DEBUG : ouroboros : Ouroboros configuration: {'interval': 300, 'docker_sockets': ['unix://var/run/docker.sock'], 'log_level': 'debug', 'prometheus_addr': None, 'prometheus_port': None, 'influx_url': None, 'influx_port': None, 'influx_username': None, 'influx_password': None, 'hostname': 'mba.tx.rr.com', 'docker_tls_verify': True}
2019-02-10 10:54:07 : INFO : base : Scheduler started
2019-02-10 10:54:07 : DEBUG : base : Looking for jobs to run
2019-02-10 10:54:07 : DEBUG : base : No jobs; waiting until a job is added
2019-02-10 10:54:07 : DEBUG : config : Trying paths: ['/Users/caleblemoine/.docker/config.json', '/Users/caleblemoine/.dockercfg']
2019-02-10 10:54:07 : DEBUG : config : Found file at path: /Users/caleblemoine/.docker/config.json
2019-02-10 10:54:07 : DEBUG : auth : Found 'auths' section
2019-02-10 10:54:07 : DEBUG : auth : Auth data for https://registry.heroku.com is absent. Client might be using a credentials store instead.
2019-02-10 10:54:07 : DEBUG : auth : Auth data for https://index.docker.io/v1/ is absent. Client might be using a credentials store instead.
2019-02-10 10:54:07 : DEBUG : auth : Found 'credsStore' section
2019-02-10 10:54:07 : DEBUG : connectionpool : http://localhost:None "GET /v1.35/containers/json?limit=-1&all=0&size=0&trunc_cmd=0&filters=%7B%22status%22%3A+%5B%22running%22%5D%7D HTTP/1.1" 200 3
2019-02-10 10:54:07 : INFO : base : Added job "Initial run interval container update for ****************.sock" to job store "default"
2019-02-10 10:54:07 : DEBUG : base : Looking for jobs to run
2019-02-10 10:54:07 : INFO : base : Running job "Initial run interval container update for unix://var/run/docker.sock (trigger: date[2019-02-10 10:54:07 CST], next run at: 2019-02-10 10:54:07 CST)" (scheduled at 2019-02-10 10:54:07.856192-06:00)
2019-02-10 10:54:07 : INFO : base : Removed job ca1efd81fa7a48e8b91a8a9cbc5061e2
2019-02-10 10:54:07 : DEBUG : base : No jobs; waiting until a job is added

@circa10a circa10a requested a review from tlkamp February 10, 2019 17:21
tlkamp
tlkamp previously approved these changes Feb 10, 2019
Copy link
Member

@dirtycajunrice dirtycajunrice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

purty

@circa10a circa10a merged commit 5930f4a into develop Feb 10, 2019
@circa10a circa10a deleted the adjust_apscheduler_logger branch February 10, 2019 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants