update/software/software
Heitor Matsui 3e1485dd05 Improve logging for deploy python scripts
This commit improves logging during "deploy start" by:
1. Creating a function on upgrade_utils to configure logging
2. Replacing basic log configuration with the function from
   previous item
3. Configuring software/utilities/migrate.py module to
   effectively log in a file
4. Suppressing meaningless SQL commands output generated
   during databases migration

Test Plan
PASS: run deploy start/upload, verify the logs from the
      scripts are created as expected

Story: 2010676
Task: 49620

Depends-on: https://review.opendev.org/c/starlingx/update/+/910262

Signed-off-by: Heitor Matsui <heitorvieira.matsui@windriver.com>
Change-Id: Ib78bdcd1dd98b0f221985a429b6e9eeddeba837b
2024-02-28 11:00:50 -03:00
..
api Merge "Deploy state sync on swact" 2024-02-26 21:33:09 +00:00
authapi Unified error handling 2024-02-06 20:13:19 +00:00
db Software deploy host list implementation 2023-12-05 20:43:05 -03:00
templates USM State Machine 2023-06-29 17:53:39 +00:00
tests Merge "deploy state changed update" 2024-02-26 21:41:45 +00:00
utilities Improve logging for deploy python scripts 2024-02-28 11:00:50 -03:00
__init__.py Package the pecan templates with the code 2023-07-17 15:33:45 +00:00
apt_utils.py Fix pep8 errors 2024-01-23 20:22:42 +00:00
base.py Update unit tests for new software component 2023-05-01 21:09:15 +00:00
certificates.py Setup controller and agent processes for "software" 2023-04-20 19:22:30 +00:00
config.py Use "apt-ostree" to manage software deploy start 2024-01-10 21:23:24 +00:00
constants.py deploy state changed update 2024-02-23 13:43:09 +00:00
exceptions.py Create release_data wrapper classes 2024-02-14 18:35:35 +00:00
messages.py deploy state changed update 2024-02-23 13:43:09 +00:00
ostree_utils.py Add retry logic for mount 2023-11-29 21:09:06 +00:00
release_data.py Create release_data wrapper classes 2024-02-14 18:35:35 +00:00
release_signing.py Setup controller and agent processes for "software" 2023-04-20 19:22:30 +00:00
release_verify.py Setup controller and agent processes for "software" 2023-04-20 19:22:30 +00:00
software_agent.py Create message class to sync deploy state between controllers 2024-02-16 15:51:49 +00:00
software_controller.py Merge "deploy state changed update" 2024-02-26 21:41:45 +00:00
software_entities.py deploy state changed update 2024-02-23 13:43:09 +00:00
software_functions.py deploy state changed update 2024-02-23 13:43:09 +00:00
software_worker.py Create wrapper to run commands and log structured output 2023-11-24 16:26:07 -03:00
sysinv_utils.py Implement USM software deploy start for upgrade 2023-12-27 16:07:53 -03:00
utils.py deploy state changed update 2024-02-23 13:43:09 +00:00