Minor documentation changes
Change-Id: I620a556a45516c09d0eaefbe93e1581f5a525610
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/remote_logging_utils.robot b/lib/remote_logging_utils.robot
index 05f2151..cb683d9 100644
--- a/lib/remote_logging_utils.robot
+++ b/lib/remote_logging_utils.robot
@@ -80,7 +80,7 @@
# Example:
# Configured:
- # *.* @@xx.xx.xx.xx:514root@wsbmc123
+ # *.* @@xx.xx.xx.xx:514root@bmchostname
# By default:
# #*.* @@remote-host:port
diff --git a/remote_logging/test_remote_logging.robot b/remote_logging/test_remote_logging.robot
index b04f07a..9a7359a 100644
--- a/remote_logging/test_remote_logging.robot
+++ b/remote_logging/test_remote_logging.robot
@@ -112,7 +112,7 @@
... remote_host=${REMOTE_LOG_SERVER_HOST} remote_port=${INVALID_PORT}
Sleep 3s
- # Sep 14 05:47:09 wsbmc123 rsyslogd[1870]: action 'action 0' suspended, next retry is Fri Sep 14 05:47:39 2018 [v8.29.0 try http://www.rsyslog.com/e/2007 ]
+ # rsyslogd[1870]: action 'action 0' suspended, next retry is Fri Sep 14 05:47:39 2018 [v8.29.0 try http://www.rsyslog.com/e/2007 ]
${bmc_journald} ${stderr} ${rc}= BMC Execute Command
... journalctl -b --no-pager | egrep 'rsyslog.*${RSYSLOG_RETRY_REGEX}'
@@ -126,8 +126,8 @@
# Expected filter rsyslog entries.
# Example:
- # Sep 03 13:20:07 wsbmc123 rsyslogd[3356]: [origin software="rsyslogd" swVersion="8.29.0" x-pid="3356" x-info="http://www.rsyslog.com"] exiting on signal 15.
- # Sep 03 13:20:18 wsbmc123 rsyslogd[3364]: [origin software="rsyslogd" swVersion="8.29.0" x-pid="3364" x-info="http://www.rsyslog.com"] start
+ # syslogd[3356]: [origin software="rsyslogd" swVersion="8.29.0" x-pid="3356" x-info="http://www.rsyslog.com"] exiting on signal 15.
+ # rsyslogd[3364]: [origin software="rsyslogd" swVersion="8.29.0" x-pid="3364" x-info="http://www.rsyslog.com"] start
${bmc_journald} ${stderr} ${rc}= BMC Execute Command
... journalctl -b --no-pager | egrep 'rsyslog' | egrep -Ev '${RSYSLOG_REGEX}'
... ignore_err=${1}
@@ -142,14 +142,14 @@
# Restart BMC dump service and get the last entry of the journald.
# Example:
- # Sep 03 10:09:28 wsbmc123 systemd[1]: Started Phosphor Dump Manager.
+ # systemd[1]: Started Phosphor Dump Manager.
BMC Execute Command
... systemctl restart xyz.openbmc_project.Dump.Manager.service
${bmc_journald} ${stderr} ${rc}= BMC Execute Command
... journalctl --no-pager | grep 'Started Phosphor Dump Manager'
- # Sep 3 10:09:28 wsbmc123 systemd[1]: Started Phosphor Dump Manager.
+ # systemd[1]: Started Phosphor Dump Manager.
${cmd}= Catenate SEPARATOR= egrep '${bmc_hostname}.*Started Phosphor Dump Manager' /var/log/syslog
${remote_journald}= Remote Logging Server Execute Command command=${cmd}