Package org.yamcs.logging
Class SyslogHandler
java.lang.Object
java.util.logging.Handler
org.yamcs.logging.SyslogHandler
JUL appender that emits to syslogd over UDP with messages formatted according to RFC 3164 (BSD syslog).
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
flush()
void
void
setFacility
(int facility) void
setHost
(InetAddress host) void
setPort
(int port) Methods inherited from class java.util.logging.Handler
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel
-
Field Details
-
MAX_LENGTH
public static final int MAX_LENGTH- See Also:
-
-
Constructor Details
-
SyslogHandler
- Throws:
SocketException
UnknownHostException
-
-
Method Details