fperez 54d7e69213 Fixing logging for python scripts - FM
This commit changes the log when FmManager
calls fm_db_sync_event_suppression.py python script.

The logInfo function is not used anymore to write
on /var/log/platform.log. Instead, fm_log.py is used.
This solves the permissions issues between the python
script and platform.log

Besides, others possible fails are logged.

Test Plan:

PASS: Log on platform.log from the python script.
PASS: Log differents log levels.
PASS: Log arguments error.
PASS: Log database connection problems.
PASS: build and install rpm package

Closes-bug: 1932324

Signed-off-by: fperez <fabrizio.perez@windriver.com>
Change-Id: I07c6340e7e9b61fc0f8f8d62e5d5cd7565f265cd
2021-11-01 12:56:19 -03:00
2021-08-31 14:12:00 -04:00
2019-04-19 19:52:34 +00:00
2021-09-01 08:58:34 -04:00
2018-05-31 07:36:00 -07:00
2021-09-27 12:53:01 -04:00

fault

StarlingX Fault Management

Description
StarlingX Fault Management
Readme 5.8 MiB
Languages
Python 60.9%
C++ 31.7%
Shell 3.1%
C 3.1%
Makefile 1.1%