@@ -1549,7 +1549,8 @@ def reload(db, filename, yes, load_sysinfo, no_service_restart, force, file_form
1549
1549
if not yes :
1550
1550
click .confirm (message , abort = True )
1551
1551
1552
- log .log_info ("'reload' executing..." )
1552
+ argv_str = ' ' .join (['config' , * sys .argv [1 :]])
1553
+ log .log_notice (f"'reload' executing with command: { argv_str } " )
1553
1554
1554
1555
num_asic = multi_asic .get_num_asics ()
1555
1556
cfg_files = []
@@ -1569,7 +1570,7 @@ def reload(db, filename, yes, load_sysinfo, no_service_restart, force, file_form
1569
1570
1570
1571
#Stop services before config push
1571
1572
if not no_service_restart :
1572
- log .log_info ("'reload' stopping services..." )
1573
+ log .log_notice ("'reload' stopping services..." )
1573
1574
_stop_services ()
1574
1575
1575
1576
# In Single ASIC platforms we have single DB service. In multi-ASIC platforms we have a global DB
@@ -1678,7 +1679,7 @@ def reload(db, filename, yes, load_sysinfo, no_service_restart, force, file_form
1678
1679
# status from all services before we attempt to restart them
1679
1680
if not no_service_restart :
1680
1681
_reset_failed_services ()
1681
- log .log_info ("'reload' restarting services..." )
1682
+ log .log_notice ("'reload' restarting services..." )
1682
1683
_restart_services ()
1683
1684
1684
1685
@config .command ("load_mgmt_config" )
@@ -1725,11 +1726,12 @@ def load_mgmt_config(filename):
1725
1726
@clicommon .pass_db
1726
1727
def load_minigraph (db , no_service_restart , traffic_shift_away , override_config , golden_config_path ):
1727
1728
"""Reconfigure based on minigraph."""
1728
- log .log_info ("'load_minigraph' executing..." )
1729
+ argv_str = ' ' .join (['config' , * sys .argv [1 :]])
1730
+ log .log_notice (f"'load_minigraph' executing with command: { argv_str } " )
1729
1731
1730
1732
#Stop services before config push
1731
1733
if not no_service_restart :
1732
- log .log_info ("'load_minigraph' stopping services..." )
1734
+ log .log_notice ("'load_minigraph' stopping services..." )
1733
1735
_stop_services ()
1734
1736
1735
1737
# For Single Asic platform the namespace list has the empty string
@@ -1815,7 +1817,7 @@ def load_minigraph(db, no_service_restart, traffic_shift_away, override_config,
1815
1817
if not no_service_restart :
1816
1818
_reset_failed_services ()
1817
1819
#FIXME: After config DB daemon is implemented, we'll no longer need to restart every service.
1818
- log .log_info ("'load_minigraph' restarting services..." )
1820
+ log .log_notice ("'load_minigraph' restarting services..." )
1819
1821
_restart_services ()
1820
1822
click .echo ("Please note setting loaded from minigraph will be lost after system reboot. To preserve setting, run `config save`." )
1821
1823
0 commit comments