Package hudson.plugins.audit_trail
Class SyslogAuditLogger
- java.lang.Object
-
- hudson.plugins.audit_trail.AuditLogger
-
- hudson.plugins.audit_trail.SyslogAuditLogger
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<AuditLogger>
public class SyslogAuditLogger extends AuditLogger
Default values are set in/src/main/resources/hudson/plugins/audit_trail/SyslogAuditLogger/config.jelly
- Author:
- Nicolas De Loof
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SyslogAuditLogger.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_APP_NAME
static com.cloudbees.syslog.Facility
DEFAULT_FACILITY
static com.cloudbees.syslog.MessageFormat
DEFAULT_MESSAGE_FORMAT
static int
DEFAULT_SYSLOG_SERVER_PORT
protected static Logger
LOGGER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T> T
defaultValue(T value, T defaultValue)
boolean
equals(Object o)
String
getAppName()
String
getDisplayName()
String
getFacility()
String
getMessageFormat()
String
getMessageHostname()
String
getNetworkProtocol()
String
getSyslogServerHostname()
int
getSyslogServerPort()
int
hashCode()
void
log(String event)
String
toString()
static String
trimToNull(String value)
-
Methods inherited from class hudson.plugins.audit_trail.AuditLogger
all, cleanUp, getDescriptor
-
-
-
-
Field Detail
-
DEFAULT_SYSLOG_SERVER_PORT
public static final int DEFAULT_SYSLOG_SERVER_PORT
- See Also:
- Constant Field Values
-
DEFAULT_APP_NAME
public static final String DEFAULT_APP_NAME
- See Also:
- Constant Field Values
-
DEFAULT_FACILITY
public static final com.cloudbees.syslog.Facility DEFAULT_FACILITY
-
DEFAULT_MESSAGE_FORMAT
public static final com.cloudbees.syslog.MessageFormat DEFAULT_MESSAGE_FORMAT
-
LOGGER
protected static final Logger LOGGER
-
-
Method Detail
-
log
public void log(String event)
- Specified by:
log
in classAuditLogger
-
getDisplayName
public String getDisplayName()
-
getSyslogServerHostname
public String getSyslogServerHostname()
-
getSyslogServerPort
public int getSyslogServerPort()
-
getAppName
public String getAppName()
-
getMessageHostname
public String getMessageHostname()
-
getFacility
public String getFacility()
-
getMessageFormat
public String getMessageFormat()
-
getNetworkProtocol
public String getNetworkProtocol()
-
defaultValue
@Nullable public static <T> T defaultValue(T value, T defaultValue)
-
-