]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[syslog] Pass internal syslog() priority through to syslog console
authorMichael Brown <mcb30@ipxe.org>
Mon, 26 Mar 2012 19:23:30 +0000 (20:23 +0100)
committerMichael Brown <mcb30@ipxe.org>
Mon, 26 Mar 2012 20:58:58 +0000 (21:58 +0100)
commit3ff7927d2fd15dd0a524f27d714dff667511718a
tree2fd8f8fc92d35946afcc0aeb13c392a49c4efd64
parentc2875ae32952690e11fc6f654fa48f4f2c9f0567
[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>
src/include/ipxe/ansiesc.h
src/include/ipxe/syslog.h
src/include/syslog.h
src/net/udp/syslog.c