public class SysLogProxy extends Object
3164 - http://www.ietf.org/rfc/rfc3164.txt
,
Definition - http://en.wikipedia.org/wiki/Syslog
,
to the syslog from a java application - http://blog.orange11.nl/2010/01/14/logging-to-the-syslog-from-a-java-application/
,
Sample output :
{@literal INFO ProxySysLog - <37> 2012-08-09T23:25:09.000Z my.hostname [ProxySysLog|test-case|127.0.0.1]: Test log only}
Modifier and Type | Class and Description |
---|---|
static class |
SysLogProxy.SyslogFacility
RFC 3164 - Facility.
|
static class |
SysLogProxy.SyslogSeverity
RFC 3164 - Severity
|
Constructor and Description |
---|
SysLogProxy() |
Modifier and Type | Method and Description |
---|---|
static void |
log(int facility,
SysLogProxy.SyslogSeverity severity,
String actorID,
String causeSource,
String message,
org.slf4j.Logger _log) |
static String |
sysLogFormat(int facility,
SysLogProxy.SyslogSeverity severity,
String actorID,
String causeSource,
String message) |
public static String hostname
public static String sysLogFormat(int facility, SysLogProxy.SyslogSeverity severity, String actorID, String causeSource, String message)
public static void log(int facility, SysLogProxy.SyslogSeverity severity, String actorID, String causeSource, String message, org.slf4j.Logger _log)
Copyright © 2018. All rights reserved.