Bug #15025
Warning on startup: Couldn't find settings file config/settings.d/foreman_proxy.yml
Pull request:
Fixed in Releases:
Found in Releases:
Description
A warning has appeared since the merge of #14618 that was previously squashed in #9974.
Prior to #14618, develop logged this on startup:
W, [2016-05-12T16:12:13.965224 #12407] WARN -- : Couldn't find settings file /home/dcleal/code/foreman/smart-proxy/config/settings.d/realm.yml. Using default settings. I, [2016-05-12T16:12:13.965552 #12407] INFO -- : 'foreman_proxy' settings were initialized with default values: :enabled: true I, [2016-05-12T16:12:13.965766 #12407] INFO -- : Finished initialization of module 'foreman_proxy'
Now it logs the extra nonsense warning:
W, [2016-05-12T16:13:19.900129 #12615] WARN -- : Couldn't find settings file /home/dcleal/code/foreman/smart-proxy/config/settings.d/realm.yml. Using default settings. W, [2016-05-12T16:13:19.900527 #12615] WARN -- : Couldn't find settings file /home/dcleal/code/foreman/smart-proxy/config/settings.d/foreman_proxy.yml. Using default settings. D, [2016-05-12T16:13:19.900722 #12615] DEBUG -- : 'foreman_proxy' settings: 'enabled': true
Related issues
Associated revisions
History
#1
Updated by Dominic Cleal about 6 years ago
- Related to Refactor #14618: Refactor plugin initialization and loading added
#2
Updated by Dominic Cleal about 6 years ago
- Related to Bug #9974: Attempts to open settings.d/foreman_proxy.yml added
#3
Updated by The Foreman Bot about 6 years ago
- Status changed from New to Ready For Testing
- Assignee set to Dmitri Dolguikh
- Pull request https://github.com/theforeman/smart-proxy/pull/420 added
#4
Updated by Anonymous about 6 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 18a62b71641bfc5498429a55e1ac85bd0b67fd72.
#5
Updated by Ivan Necas almost 6 years ago
- Related to Bug #15606: smart_proxy_dynflow doesn't work with smart-proxy 1.12+ added
Fixes #15025 - do not show foreman_proxy startup messages.