commit f37395a61d15226b8379a1779a0b25fbdc660248
Author: Lucas Ratusznei Fonseca <email address hidden>
Date: Wed Feb 7 02:46:28 2024 -0300
Add log level information to messages in apply_network_config.sh
This commit improves the log function and adds log level information
to all log messages in apply_network_config.sh and network_ifupdown.sh.
Test plan
System: AIO-SX
[PASS] Erase ifcfg-* files in /etc/network/interfaces.d/, run apply_network_config.sh as root, check that messages in user.log
have the format <user>: <level> <script_name>: <message>
Reviewed: https:/ /review. opendev. org/c/starlingx /stx-puppet/ +/908314 /opendev. org/starlingx/ stx-puppet/ commit/ f37395a61d15226 b8379a1779a0b25 fbdc660248
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit f37395a61d15226 b8379a1779a0b25 fbdc660248
Author: Lucas Ratusznei Fonseca <email address hidden>
Date: Wed Feb 7 02:46:28 2024 -0300
Add log level information to messages in apply_network_ config. sh
This commit improves the log function and adds log level information config. sh and network_ ifupdown. sh.
to all log messages in apply_network_
Test plan
System: AIO-SX
[PASS] Erase ifcfg-* files in /etc/network/ interfaces. d/, run
apply_ network_ config. sh as root, check that messages in user.log
<user> : <level> <script_name>: <message>
have the format
Closes-Bug: #2052534 2765a2c1d8c6b85 b7ec215d0e6
Change-Id: I97ee7638521173
Signed-off-by: Lucas Ratusznei Fonseca <email address hidden>