dreport: Replace eSEL usage by elog string
Change-Id: I0f56b55df797ba4a463f7842285aae4788b2724a
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
diff --git a/tools/dreport b/tools/dreport
index 8dba934..f690498 100755
--- a/tools/dreport
+++ b/tools/dreport
@@ -84,7 +84,7 @@
get_cpuinfo
get_meminfo
get_top
- get_esel
+ get_elog_all
get_journal
get_failed_services
)
@@ -244,9 +244,9 @@
run_command "$command" "$copy_loc" "$desc"
}
-function get_esel()
+function get_elog_all()
{
- desc="eSEL"
+ desc="elog"
entries=$(busctl --list --no-pager tree \
xyz.openbmc_project.Logging | grep \
@@ -265,7 +265,7 @@
call xyz.openbmc_project.Logging {} \
org.freedesktop.DBus.Properties GetAll s \
xyz.openbmc_project.Logging.Entry"
- copy_loc="eSEL.log"
+ copy_loc="elog.log"
run_command "$command" "$copy_loc" "$desc"
}