dlogconfdir = $(sysconfdir)/dlog.conf.d
dlogconf_DATA = \
+ configs/10-persistent-logs.conf \
configs/20-pipe.conf \
configs/25-logger.conf \
configs/99-dlog-logger.disable-platform-logging-for-testsuite.conf
--- /dev/null
+# Works AS IF a dlogutil instance was active and writing to a file (not a real instance!)
+# The key has to be of the format `dlog_logger_conf_%s`, where %s is an arbitrary idenfitier.
+# The value has to start with "dlogutil" and must contain the `-f` option, which specifies the path.
+# Otherwise accepts same parameters (including filters) as the regular executable dlogutil.
+
+# NOTE: Do not change the following key names!
+# Additional configuration files (in dlog.conf.d) might want to override these.
+dlog_logger_conf_system=dlogutil -b system -r 2048 -n 1 -f /var/log/dlog/system -v recv_realtime *:I
+dlog_logger_conf_main=dlogutil -b main -r 1024 -n 1 -f /var/log/dlog/main -v recv_realtime *:W
+dlog_logger_conf_radio=dlogutil -b radio -r 256 -n 1 -f /var/log/dlog/radio -v recv_realtime
# increased by `-t` if it is larger, and is completely ignored when the requested sorting order
# agrees with what the source provides.
#util_sorting_buffer_size=131072
-
-# Passive logging.
-# Works AS IF a dlogutil instance was active and writing to a file (not a real instance!)
-# The key has to be of the format `dlog_logger_conf_%s`, where %s is an arbitrary idenfitier.
-# The value has to start with "dlogutil" and must contain the `-f` option, which specifies the path.
-# Otherwise accepts same parameters (including filters) as the regular executable dlogutil.
-
-# NOTE: Do not change the following key names!
-# Additional configuration files (in dlog.conf.d) might want to override these.
-dlog_logger_conf_system=dlogutil -b system -r 2048 -n 1 -f /var/log/dlog/system -v recv_realtime *:I
-dlog_logger_conf_main=dlogutil -b main -r 1024 -n 1 -f /var/log/dlog/main -v recv_realtime *:W
-dlog_logger_conf_radio=dlogutil -b radio -r 256 -n 1 -f /var/log/dlog/radio -v recv_realtime
Requires(posttrans): coreutils
Requires(posttrans): /usr/bin/chsmack
Requires(postun): /sbin/ldconfig
+Requires: %{name}-config-persistent-logs
%description -n libdlog
dlog API library. If dlogbackend isn't installed, pipe backend is selected.
%description -n log-syslog
Systemd unit for syslog socket configation to use with dlog
+%package config-persistent-logs
+Summary: enable persistent storage of logs
+
+%description config-persistent-logs
+Enable persistent logs in dlog (stored in /var/log/dlog/)
+
%package -n dlog-doc
Summary: dlog documentation
BuildRequires: doxygen
%{_unitdir}/sockets.target.wants/dlog_dev-log.socket
%{_unitdir}/dlog_dev-log.socket
+%files config-persistent-logs
+%{_sysconfdir}/dlog.conf.d/10-persistent-logs.conf
+
%files -n dlog-doc
%manifest dlog.manifest
%license LICENSE.APACHE2.0 LICENSE.MIT