---
title: "Activating the log listener"
slug: "log-listener-activation"
updated: 2026-09-10T13:13:57Z
published: 2026-09-10T13:13:57Z
canonical: "docs.lobstersoftware.com/log-listener-activation"
---
> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt
> Use this file to discover all available pages before exploring further.
# Activating the log listener
## Keyword log listener
This is a short introduction on how to install a keyword log listener. This log listener listens to specified keywords in the error text of error messages in and sends an e-mail with a notification where applicable. The text of this e-mail only contains the job number, to make sure the forwarding to an SMS gateway works (length limitation of the text).
### Setting up a configuration file
Create a file ./conf/log_events.properties.
The file has to contain at least the following entries (comments begin with "#").
```plaintext
# Sets the sender of the email
sender.address=john.doe@example.com
# Time in hours (Integer); Errors after that time are ignored
time.start=8
# Time in hours (Integer); Errors before that time are ignored
time.end=18
# If "false", the time settings are used, i.e. no emails are sent from Monday to Friday between 8am and 6pm
# If "true", the time settings are ignored - an email is sent, no matter what time it is (e.g. because Friday is a holiday)
ignoreTimeSettings=false
# To ignore errors for 60 minutes, starting on Thursdays at 2.30am, use the following setting
exclude.thursday.time=2:30;60
# Specified key words for the receiver; Key words are separated by commas. Various key words can be assigned to
# different receivers
john.doe@example.com=mandatory,invalid
```
**NOTE:** If the configuration file is modified during runtime, the new settings will be read.
### Activating the keyword log listener
Please include the following line in section "Datawizard" in file ./etc/startup.xml.
```xml
```
This activates the keyword log listener at the next start of the Integration Server.
**NOTE:** The log listener accumulates notifications in a timeframe of 5 minutes to avoid sending an email for every error.
## Unknown Segment Log Listener
If input files contain data segments that cannot be parsed into the existing source structure, this data will be lost (without triggering a profile job error).
However, it is possible to log such data, evaluate it and, if necessary, post-process it.
### Activating the unknown segment log listener
Please add the following entry in section "Datawizard" in configuration file ./etc/startup.xml.
```xml
```
This will activate the unknown segment log listener after the next start of the Integration Server.
### Adjusting log level
Now, you have to set option "Unknown segments" in the "Profile logging" of the respective profile (or generally in the "System logging") for Phase 2, so that in a first step messages are written into the job log.
### Created log file
The unknown segment log listener reads the relevant messages out of all job logs and creates a file with name "UnknownSegmentData.work". A line of this file has the following structure.
| ,,"" |
| --- |
**Example:** 12636,25.09.19 09:07:38.184,"Skipping data 'somematchcode,somedata', no matching node found."
The unknown segment log listener internally remembers the age of the file. If it is older than 2 hours, the next time the file is touched, it will be renamed to "UnknownSegmentData.log". **NOTE:** If there already is a file "UnknownSegmentData.log" in the ./logs directory, the file "UnknownSegmentData.work" will not be renamed until the existing "UnknownSegmentData.log" file is fetched/removed.
You can then create another profile to process this log file (scheduled Input agent of the "File" type, possibly with the option "React to file events"). So you have the option to either process the unknown data segments somehow or simply send a notification e-mail.
### Document type
Please note that the unknown segment log listener does not work for document types "XML" and "JSON". The reason is that in these formats data in the input file is searched for based on the source structure itself. Unknown elements are thus not discovered at all since they (due to their unknown nature) do not exist in the source structure.
But it works for all other types of documents. In these cases, the parser tries to place a data segment in the source structure. If a data segment cannot be placed, a log entry for this segment will be created (if the corresponding log level option is set, see above).
The Integration Server is the central runtime component of the Lobster Data Platform. It executes integration processes and processes data. The Integration Server stores local certificates and uses their private keys for signing and decryption. It provides all communication services (e.g., FTP, SMTP, HTTP) and connects the application to the database. It is managed via the Admin console.
Parsing: The input data is parsed into the source structure. The source structure represents the input format.
The input agent receives data in Phase 1 and starts a job for further processing. It works either as event based (passively waits for data) or scheduled (actively fetches data).