diff options
author | Deepak Kodihalli <dkodihal@in.ibm.com> | 2017-06-12 04:33:29 -0500 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-06-26 02:33:34 +0000 |
commit | 72654f10e45056ab55b77d835e2bfd01e8d98480 (patch) | |
tree | a81c82f786690244abf0a8be2185e6c775cabac5 /configure.ac | |
parent | 979632aeb629b4cb62aed276f7422c34cd7983bc (diff) | |
download | phosphor-logging-72654f10e45056ab55b77d835e2bfd01e8d98480.tar.gz phosphor-logging-72654f10e45056ab55b77d835e2bfd01e8d98480.zip |
Persist error d-bus objects
Use Cereal to implement serialization and de-serialization of
properties of error d-bus objects.
Serialize and persist error d-bus objects as they are put on the bus.
De-serialize and restore them (if persistent ones exist) when
phosphor-log-manager starts up.
Change-Id: I1f5df1abbe74bfdb86e3e82a78ff7115e90e2112
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 7055888..977bcb0 100644 --- a/configure.ac +++ b/configure.ac @@ -77,6 +77,12 @@ AC_ARG_VAR(CALLOUTS_YAML, [YAML filepath containing generated callouts.]) AS_IF([test "x$CALLOUTS_YAML" == "x"], \ [CALLOUTS_YAML="callouts-example.yaml"]) +AC_ARG_VAR(ERRLOG_PERSIST_PATH, [Path of directory housing persisted errors.]) +AS_IF([test "x$ERRLOG_PERSIST_PATH" == "x"], \ + [ERRLOG_PERSIST_PATH="/var/lib/phosphor-logging/errors"]) +AC_DEFINE_UNQUOTED([ERRLOG_PERSIST_PATH], ["$ERRLOG_PERSIST_PATH"], \ + [Path of directory housing persisted errors]) + # Compile error metadata handlers if we're asked to do so. AC_ARG_ENABLE([metadata-processing], AS_HELP_STRING([--enable-metadata-processing], [Compile metadata handlers]), |