org.opennms.netmgt.syslogd
Class SyslogDefs
java.lang.Object
org.opennms.netmgt.syslogd.SyslogDefs
public class SyslogDefs
- extends Object
- Author:
- Johan Edstrom
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RCS_ID
public static final String RCS_ID
- See Also:
- Constant Field Values
RCS_REV
public static final String RCS_REV
- See Also:
- Constant Field Values
RCS_NAME
public static final String RCS_NAME
- See Also:
- Constant Field Values
LOG_EMERG
public static final int LOG_EMERG
- See Also:
- Constant Field Values
LOG_ALERT
public static final int LOG_ALERT
- See Also:
- Constant Field Values
LOG_CRIT
public static final int LOG_CRIT
- See Also:
- Constant Field Values
LOG_ERR
public static final int LOG_ERR
- See Also:
- Constant Field Values
LOG_WARNING
public static final int LOG_WARNING
- See Also:
- Constant Field Values
LOG_NOTICE
public static final int LOG_NOTICE
- See Also:
- Constant Field Values
LOG_INFO
public static final int LOG_INFO
- See Also:
- Constant Field Values
LOG_DEBUG
public static final int LOG_DEBUG
- See Also:
- Constant Field Values
LOG_ALL
public static final int LOG_ALL
- See Also:
- Constant Field Values
LOG_KERN
public static final int LOG_KERN
- See Also:
- Constant Field Values
LOG_USER
public static final int LOG_USER
- See Also:
- Constant Field Values
LOG_MAIL
public static final int LOG_MAIL
- See Also:
- Constant Field Values
LOG_DAEMON
public static final int LOG_DAEMON
- See Also:
- Constant Field Values
LOG_AUTH
public static final int LOG_AUTH
- See Also:
- Constant Field Values
LOG_SYSLOG
public static final int LOG_SYSLOG
- See Also:
- Constant Field Values
LOG_LPR
public static final int LOG_LPR
- See Also:
- Constant Field Values
LOG_NEWS
public static final int LOG_NEWS
- See Also:
- Constant Field Values
LOG_UUCP
public static final int LOG_UUCP
- See Also:
- Constant Field Values
LOG_CRON
public static final int LOG_CRON
- See Also:
- Constant Field Values
LOG_LOCAL0
public static final int LOG_LOCAL0
- See Also:
- Constant Field Values
LOG_LOCAL1
public static final int LOG_LOCAL1
- See Also:
- Constant Field Values
LOG_LOCAL2
public static final int LOG_LOCAL2
- See Also:
- Constant Field Values
LOG_LOCAL3
public static final int LOG_LOCAL3
- See Also:
- Constant Field Values
LOG_LOCAL4
public static final int LOG_LOCAL4
- See Also:
- Constant Field Values
LOG_LOCAL5
public static final int LOG_LOCAL5
- See Also:
- Constant Field Values
LOG_LOCAL6
public static final int LOG_LOCAL6
- See Also:
- Constant Field Values
LOG_LOCAL7
public static final int LOG_LOCAL7
- See Also:
- Constant Field Values
LOG_NFACILITIES
public static final int LOG_NFACILITIES
- See Also:
- Constant Field Values
LOG_PRIMASK
public static final int LOG_PRIMASK
- See Also:
- Constant Field Values
LOG_FACMASK
public static final int LOG_FACMASK
- See Also:
- Constant Field Values
INTERNAL_NOPRI
public static final int INTERNAL_NOPRI
- See Also:
- Constant Field Values
LOG_PID
public static final int LOG_PID
- See Also:
- Constant Field Values
LOG_CONS
public static final int LOG_CONS
- See Also:
- Constant Field Values
LOG_ODELAY
public static final int LOG_ODELAY
- See Also:
- Constant Field Values
LOG_NDELAY
public static final int LOG_NDELAY
- See Also:
- Constant Field Values
LOG_NOWAIT
public static final int LOG_NOWAIT
- See Also:
- Constant Field Values
LOG_PERROR
public static final int LOG_PERROR
- See Also:
- Constant Field Values
DEFAULT_PORT
public static final int DEFAULT_PORT
- See Also:
- Constant Field Values
SyslogDefs
public SyslogDefs()
extractFacility
public static int extractFacility(int code)
extractPriority
public static int extractPriority(int code)
computeCode
public static int computeCode(int facility,
int priority)
getPriorityName
public static String getPriorityName(int level)
getFacilityName
public static String getFacilityName(int facility)
getPriority
public static String getPriority(String priority)
throws ParseException
- Throws:
ParseException
getFacility
public static int getFacility(String facility)
throws ParseException
- Throws:
ParseException
Copyright © 2009. All Rights Reserved.