@Extension
public class SyslogLoggerPlugin
extends jenkins.model.GlobalConfiguration
Send Jenkins CI logs to a Syslog Server.
Features:
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_APP_NAME |
static com.cloudbees.syslog.Facility |
DEFAULT_FACILITY |
static Level |
DEFAULT_LEVEL_FILTER |
static com.cloudbees.syslog.MessageFormat |
DEFAULT_MESSAGE_FORMAT |
static int |
DEFAULT_SYSLOG_SERVER_PORT |
static org.jenkinsci.plugins.sysloglogger.SyslogLoggerPlugin.SyslogTransport |
DEFAULT_SYSLOG_TRANSPORT |
protected static Logger |
LOGGER |
| Constructor and Description |
|---|
SyslogLoggerPlugin() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData) |
static <T> T |
defaultValue(T value,
T defaultValue) |
hudson.util.ListBoxModel |
doFillFacilityItems() |
hudson.util.ListBoxModel |
doFillLevelFilterItems() |
hudson.util.ListBoxModel |
doFillMessageFormatItems() |
hudson.util.ListBoxModel |
doFillSeverityItems() |
hudson.util.ListBoxModel |
doFillSyslogTransportItems() |
String |
getAppName() |
String |
getDisplayName() |
String |
getFacility() |
String |
getLevelFilter() |
String |
getMessageFormat() |
String |
getMessageHostname() |
String |
getSyslogServerHostname() |
int |
getSyslogServerPort() |
String |
getSyslogTransport() |
String |
toString() |
static String |
trimToNull(String value) |
all, getCategory, getDescriptor, getGlobalConfigPageaddHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMappublic static final org.jenkinsci.plugins.sysloglogger.SyslogLoggerPlugin.SyslogTransport DEFAULT_SYSLOG_TRANSPORT
public static final int DEFAULT_SYSLOG_SERVER_PORT
public static final Level DEFAULT_LEVEL_FILTER
public static final String DEFAULT_APP_NAME
public static final com.cloudbees.syslog.Facility DEFAULT_FACILITY
public static final com.cloudbees.syslog.MessageFormat DEFAULT_MESSAGE_FORMAT
protected static final Logger LOGGER
public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
throws hudson.model.Descriptor.FormException
configure in class hudson.model.Descriptor<jenkins.model.GlobalConfiguration>hudson.model.Descriptor.FormExceptionpublic hudson.util.ListBoxModel doFillLevelFilterItems()
public hudson.util.ListBoxModel doFillMessageFormatItems()
public hudson.util.ListBoxModel doFillSeverityItems()
public hudson.util.ListBoxModel doFillFacilityItems()
public hudson.util.ListBoxModel doFillSyslogTransportItems()
public String getDisplayName()
getDisplayName in class jenkins.model.GlobalConfigurationpublic String getSyslogServerHostname()
public int getSyslogServerPort()
public String getLevelFilter()
public String getAppName()
public String getMessageHostname()
public String getFacility()
public String getMessageFormat()
public String getSyslogTransport()
@Nullable public static <T> T defaultValue(T value, T defaultValue)
Copyright © 2004-2015. All Rights Reserved.