| Modifier and Type | Field and Description |
|---|---|
| private final Calendar | |
| pack-priv int | |
| pack-priv long | |
| pack-priv String | |
| pack-priv SimpleDateFormat | |
| pack-priv SimpleDateFormat | |
| pack-priv String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv String | |
| public String | convert(ILoggingEvent event)
Implements abstract ch. |
| public String | Returns: String the name of the local hostThis method gets the network name of the machine we are running on. |
| public void | start()
Overrides ch. Implements ch. |
| calendar | back to summary |
|---|---|
| private final Calendar calendar | |
| facility | back to summary |
|---|---|
| pack-priv int facility | |
| lastTimestamp | back to summary |
|---|---|
| pack-priv long lastTimestamp | |
| localHostName | back to summary |
|---|---|
| pack-priv String localHostName | |
| simpleMonthFormat | back to summary |
|---|---|
| pack-priv SimpleDateFormat simpleMonthFormat | |
| simpleTimeFormat | back to summary |
|---|---|
| pack-priv SimpleDateFormat simpleTimeFormat | |
| timesmapStr | back to summary |
|---|---|
| pack-priv String timesmapStr | |
| SyslogStartConverter | back to summary |
|---|---|
| public SyslogStartConverter() | |
| computeTimeStampString | back to summary |
|---|---|
| pack-priv String computeTimeStampString(long now) | |
| convert | back to summary |
|---|---|
| public String convert(ILoggingEvent event) Implements abstract ch. Doc from ch. The convert method is responsible for extracting data from the event and storing it for later use by the write method. | |
| getLocalHostname | back to summary |
|---|---|
| public String getLocalHostname() This method gets the network name of the machine we are running on. Returns "UNKNOWN_LOCALHOST" in the unlikely case where the host name cannot be found.
| |
| start | back to summary |
|---|---|
| public void start() Overrides ch. Implements ch. Doc from ch. Components that depend on options passed during configuration can override this method in order to make appropriate use of those options. For simpler components, the trivial implementation found in this abstract class will be sufficient. | |