freebsd-nq/cmd/zed
Chris Dunlap 8125fb7190 Cleanup zed logging
This is a set of minor cleanup changes related to zed logging:
- Remove the program identity prefix from messages written to stderr
  since systemd already prepends this output with the program name.
- Replace the copy of the program identity string with a ptr reference.
- Replace "pid" with "PID" for consistency in comments & strings.
- Rename the zed_log.c struct _ctx component "level" to "priority".
- Add the LOG_PID option for messages written to syslog.

Signed-off-by: Chris Dunlap <cdunlap@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #2252
2014-09-02 14:18:53 -07:00
..
zed.d Add automatic hot spare functionality 2014-04-02 13:10:08 -07:00
.gitignore Initial implementation of zed (ZFS Event Daemon) 2014-04-02 13:10:03 -07:00
Makefile.am zed needs libzfs_core 2014-07-31 09:49:01 -07:00
zed_conf.c Cleanup zed logging 2014-09-02 14:18:53 -07:00
zed_conf.h Initial implementation of zed (ZFS Event Daemon) 2014-04-02 13:10:03 -07:00
zed_event.c Initial implementation of zed (ZFS Event Daemon) 2014-04-02 13:10:03 -07:00
zed_event.h Initial implementation of zed (ZFS Event Daemon) 2014-04-02 13:10:03 -07:00
zed_exec.c Initial implementation of zed (ZFS Event Daemon) 2014-04-02 13:10:03 -07:00
zed_exec.h Initial implementation of zed (ZFS Event Daemon) 2014-04-02 13:10:03 -07:00
zed_file.c Cleanup zed logging 2014-09-02 14:18:53 -07:00
zed_file.h Replace zed_file_create_dirs() with mkdirp() 2014-04-09 13:32:54 -07:00
zed_log.c Cleanup zed logging 2014-09-02 14:18:53 -07:00
zed_log.h Cleanup zed logging 2014-09-02 14:18:53 -07:00
zed_strings.c Initial implementation of zed (ZFS Event Daemon) 2014-04-02 13:10:03 -07:00
zed_strings.h Initial implementation of zed (ZFS Event Daemon) 2014-04-02 13:10:03 -07:00
zed.c Fix race condition with zed pidfile creation 2014-09-02 14:18:53 -07:00
zed.h Initial implementation of zed (ZFS Event Daemon) 2014-04-02 13:10:03 -07:00