nautobot / cookiecutter-nautobot-app

Cookiecutter template for creating new Nautobot Apps.
https://docs.nautobot.com/projects/cookiecutter-nautobot-app/en/latest/
Apache License 2.0
16 stars 5 forks source link

proposed changes for improved logging format in dev env #90

Closed whitej6 closed 8 months ago

whitej6 commented 8 months ago

Changes logging from

root@62a3db75e3ff:/source# nautobot-server branch --count 1
18:46:20.680 DEBUG   nautobot.core.celery __init__.py        import_jobs_as_celery_tasks() :
  Importing system Jobs
18:46:20.683 DEBUG   nautobot.core.celery __init__.py                      register_jobs() :
  Registering job nautobot.core.jobs.GitRepositorySync
18:46:20.687 DEBUG   nautobot.core.celery __init__.py                      register_jobs() :
  Registering job nautobot.core.jobs.GitRepositoryDryRun
18:46:21.450 ERROR   nautobot.core.apps   __init__.py                                url() :
  Error in link construction for Notes: Reverse for 'note_list' not found. 'note_list' is not a valid view function or pattern name.
18:46:21.506 DEBUG   nautobot.core.celery __init__.py                      register_jobs() :
  Registering job data_generation.designs.backbone.CreateBackbone
18:46:21.506 DEBUG   nautobot.core.celery __init__.py                      register_jobs() :
  Registering job data_generation.designs.branch.CreateBase
18:46:21.506 DEBUG   nautobot.core.celery __init__.py                      register_jobs() :
  Registering job data_generation.designs.branch.CreateBranch
18:46:21.506 DEBUG   nautobot.core.celery __init__.py                      register_jobs() :
  Registering job data_generation.designs.coolkitt.CreateCoolkitt
18:46:21.507 DEBUG   nautobot.core.celery __init__.py                      register_jobs() :
  Registering job data_generation.designs.networktocode.CreateNetworkToCode
18:46:21.507 DEBUG   nautobot.core.celery __init__.py                      register_jobs() :
  Registering job data_generation.designs.networktocode.CreateNetworkToCodeGoldenConfig

To

root@62a3db75e3ff:/source# nautobot-server branch --count 1
18:54:28.248 DEBUG   nautobot.core.celery __init__.py        import_jobs_as_celery_tasks() :  Importing system Jobs
18:54:28.250 DEBUG   nautobot.core.celery __init__.py                      register_jobs() :  Registering job nautobot.core.jobs.GitRepositorySync
18:54:28.255 DEBUG   nautobot.core.celery __init__.py                      register_jobs() :  Registering job nautobot.core.jobs.GitRepositoryDryRun
18:54:28.998 ERROR   nautobot.core.apps   __init__.py                                url() :  Error in link construction for Notes: Reverse for 'note_list' not found. 'note_list' is not a valid view function or pattern name.
18:54:29.050 DEBUG   nautobot.core.celery __init__.py                      register_jobs() :  Registering job data_generation.designs.backbone.CreateBackbone
18:54:29.050 DEBUG   nautobot.core.celery __init__.py                      register_jobs() :  Registering job data_generation.designs.branch.CreateBase
18:54:29.050 DEBUG   nautobot.core.celery __init__.py                      register_jobs() :  Registering job data_generation.designs.branch.CreateBranch
18:54:29.050 DEBUG   nautobot.core.celery __init__.py                      register_jobs() :  Registering job data_generation.designs.coolkitt.CreateCoolkitt
18:54:29.050 DEBUG   nautobot.core.celery __init__.py                      register_jobs() :  Registering job data_generation.designs.networktocode.CreateNetworkToCode
18:54:29.051 DEBUG   nautobot.core.celery __init__.py                      register_jobs() :  Registering job data_generation.designs.networktocode.CreateNetworkToCodeGoldenConfig