mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-24 19:28:53 +03:00
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
This commit is contained in:
committed by
Brian Behlendorf
parent
5a8855b716
commit
8125fb7190
+1
-1
@@ -41,7 +41,7 @@ void zed_log_pipe_close_writes(void);
|
||||
|
||||
void zed_log_pipe_wait(void);
|
||||
|
||||
void zed_log_stderr_open(int level);
|
||||
void zed_log_stderr_open(int priority);
|
||||
|
||||
void zed_log_stderr_close(void);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user