This will help on debugging and / or error messages which
will show what package and what line a message came from
This is pared down from what is currently being proposed for the UI
https://review.opendev.org/#/c/747473/
Change-Id: I68eb8b0141a8d56d5ea14aa623a25f9287ff1e75
As part of config refactoring process, it makes sense to
remove Debug field of AirshipCTLSettings and use log module
method as source of truth about current log level.
Change-Id: I42e3a9fd3b4e2778c71278f98a0d168421dfd2fb
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
Relates-To: #327
This will make it easier to differentiate between airship log messages
and third-party log message (e.g. clusterctl)
Change-Id: I0b8a2fed58a6a673277f511267e2498c7e8d4c1b
* added license templates for go, bash & yaml in tools dir
* added a script that will add license information for all
missing files. Type: go, yaml, yml, sh
* skip adding license for all files within testdata
* Syntax:
> ./tools/add_license.sh
* Skip license for manifests folder
* Added one extra line after licene for yaml files
* Added License after Hashbang for bash.
* Add an extra line after hashbang and before license
* Updated the go template to use multiline comments
New Files:
1. tools/add_license.sh
2. tools/license_go.txt
3. tools/license_yaml.txt
4. tools/license_bash.txt
Change-Id: Ia4da5b261e7cd518d446896b72c810421877472a
Realtes-To:#147
This commit adds a custom encapsulated Logger, which then has its
methods exposed in a controlled fashion. This prevents external
libraries from modifying things such as the flags passed to the logger,
or where it should output to.
Change-Id: Ide4321246b1277fcee51608aa95532b8696b9777