neels has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/libosmocore/+/32045 )


Change subject: logging_vty.c: rename static function
......................................................................

logging_vty.c: rename static function

Rename 'logging_prnt_timestamp_cmd' to
  logging_timestamp_cmd
to better match its VTY name:
 'logging timestamp (0|1)'

(An actual 'logging print timestamp' command will be added in subsequent
patch I58c792dda3cbcf8618648ba4429c27fa398a9e15, so clarify.)

Change-Id: I5a651e393bd438ea236659ed2c86188a8f9885d1
---
M src/vty/logging_vty.c
1 file changed, 21 insertions(+), 4 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/45/32045/1

diff --git a/src/vty/logging_vty.c b/src/vty/logging_vty.c
index 26b8844..8d046a0 100644
--- a/src/vty/logging_vty.c
+++ b/src/vty/logging_vty.c
@@ -206,8 +206,8 @@
        RET_WITH_UNLOCK(CMD_SUCCESS);
 }

-DEFUN(logging_prnt_timestamp,
-      logging_prnt_timestamp_cmd,
+DEFUN(logging_timestamp,
+      logging_timestamp_cmd,
       "logging timestamp (0|1)",
        LOGGING_STR "Configure log message timestamping\n"
        "Don't prefix each log message\n"
@@ -1218,7 +1218,7 @@
        install_lib_element_ve(&disable_logging_cmd);
        install_lib_element_ve(&logging_fltr_all_cmd);
        install_lib_element_ve(&logging_use_clr_cmd);
-       install_lib_element_ve(&logging_prnt_timestamp_cmd);
+       install_lib_element_ve(&logging_timestamp_cmd);
        install_lib_element_ve(&logging_prnt_ext_timestamp_cmd);
        install_lib_element_ve(&logging_timezone_cmd);
        install_lib_element_ve(&logging_prnt_tid_cmd);
@@ -1254,7 +1254,7 @@
        install_node(&cfg_log_node, config_write_log);
        install_lib_element(CFG_LOG_NODE, &logging_fltr_all_cmd);
        install_lib_element(CFG_LOG_NODE, &logging_use_clr_cmd);
-       install_lib_element(CFG_LOG_NODE, &logging_prnt_timestamp_cmd);
+       install_lib_element(CFG_LOG_NODE, &logging_timestamp_cmd);
        install_lib_element(CFG_LOG_NODE, &logging_prnt_ext_timestamp_cmd);
        install_lib_element(CFG_LOG_NODE, &logging_timezone_cmd);
        install_lib_element(CFG_LOG_NODE, &logging_prnt_tid_cmd);

--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/32045
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I5a651e393bd438ea236659ed2c86188a8f9885d1
Gerrit-Change-Number: 32045
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofm...@sysmocom.de>
Gerrit-MessageType: newchange

Reply via email to