Class SyslogDefs
java.lang.Object
org.pentaho.di.job.entries.syslog.SyslogDefs
This defines settings for Syslog.
- Since:
- 05-01-2010
- Author:
- Samatar
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
computeCode
(int facility, int priority) static int
getFacility
(String facility) static int
getPriority
(String priority) static void
sendMessage
(org.productivity.java.syslog4j.SyslogIF syslog, int priority, String message, boolean addTimestamp, String pattern, boolean addHostName)
-
Field Details
-
DEFAULT_PROTOCOL_UDP
- See Also:
-
DEFAULT_PORT
public static final int DEFAULT_PORT- See Also:
-
DEFAULT_DATE_FORMAT
- See Also:
-
FACILITYS
-
PRIORITYS
-
-
Constructor Details
-
SyslogDefs
public SyslogDefs()
-
-
Method Details
-
computeCode
public static int computeCode(int facility, int priority) -
getPriority
- Throws:
SyslogException
-
getFacility
- Throws:
SyslogException
-
sendMessage
-