update/software/software/utilities
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
..
__init__.py data migration worker 2023-12-20 17:15:57 +00:00
constants.py data migration worker 2023-12-20 17:15:57 +00:00
migrate.py Improve logging for deploy python scripts 2024-02-28 11:00:50 -03:00
update_deploy_state.py deploy state changed update 2024-02-23 13:43:09 +00:00
utils.py data migration worker 2023-12-20 17:15:57 +00:00