Watcher API - main() function contains duplicate setup

Bug #1522781 reported by Vincent Françoise on 2015-12-04
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Darren Shaw

Bug Description

The following line is executed twice:

logging.setup(CONF, 'watcher')

The first time is within the prepare_service() function and the second one is inside the main() function in watcher/cmd/

Changed in watcher:
importance: Undecided → Low
Darren Shaw (dronshaw) on 2015-12-04
Changed in watcher:
assignee: nobody → Darren Shaw (ds354m)

Fix proposed to branch: master

Changed in watcher:
status: New → In Progress

Submitter: Jenkins
Branch: master

commit 4a88220ffe8d4110ff9320dd4b9be6b318747673
Author: Darren Shaw <email address hidden>
Date: Fri Dec 4 20:34:34 2015 -0600

    Remove duplicate setup in Watcher API main()

    main() duplicates code for oslo_log setup, which is first
    called within prepare_services(). This patches removes
    the duplication call in main()

    Change-Id: I712d3733218c18b2eb02d4bf26e54b29ef72a988
    Closes-Bug: #1522781

Changed in watcher:
status: In Progress → Fix Committed
Changed in watcher:
milestone: none → mitaka-2
Changed in watcher:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers