summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/syslog.h
diff options
context:
space:
mode:
authorMichael Brown2012-03-26 21:23:30 +0200
committerMichael Brown2012-03-26 22:58:58 +0200
commit3ff7927d2fd15dd0a524f27d714dff667511718a (patch)
tree2fd8f8fc92d35946afcc0aeb13c392a49c4efd64 /src/include/ipxe/syslog.h
parent[console] Do not share ANSI escape context between lineconsole users (diff)
downloadipxe-3ff7927d2fd15dd0a524f27d714dff667511718a.tar.gz
ipxe-3ff7927d2fd15dd0a524f27d714dff667511718a.tar.xz
ipxe-3ff7927d2fd15dd0a524f27d714dff667511718a.zip
[syslog] Pass internal syslog() priority through to syslog console
Use a private ANSI escape sequence to convey the priority of an internal syslog() message through to the syslog server. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/syslog.h')
-rw-r--r--src/include/ipxe/syslog.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/ipxe/syslog.h b/src/include/ipxe/syslog.h
index 256ac7613..035ca6700 100644
--- a/src/include/ipxe/syslog.h
+++ b/src/include/ipxe/syslog.h
@@ -20,17 +20,17 @@ FILE_LICENCE ( GPL2_OR_LATER );
*/
#define SYSLOG_BUFSIZE 128
-/** Syslog facility
+/** Syslog default facility
*
* This is a policy decision
*/
-#define SYSLOG_FACILITY 0 /* kernel */
+#define SYSLOG_DEFAULT_FACILITY 0 /* kernel */
-/** Syslog severity
+/** Syslog default severity
*
* This is a policy decision
*/
-#define SYSLOG_SEVERITY LOG_INFO
+#define SYSLOG_DEFAULT_SEVERITY LOG_INFO
/** Syslog priority */
#define SYSLOG_PRIORITY( facility, severity ) ( 8 * (facility) + (severity) )