To monitor For the convenience of monitoring processes, the logging subsystem has 6 levels of logging: ValueLevel | Description |
|---|
fatal
| Writes errors , which stops further process functioningthat are critical for the process operation | error
| Writes messages about errors , which that are not critical for the process functioningoperation | warning
| Writes information about potentially dangerous situationscases | Information
| General useful information about the process that can be useful (process start/stop, applying configuration and so onconfigurations, etc.) | debug
| Writes information , which is mostly used for service functioning diagnostics to diagnose the service operation (IT, system administrators and so on) | trace
| Mostly used by programmers to track the code |
Configuring logging levels | Предупреждение |
|---|
| Keep in mind that an increase in the Please, note that choosing a more detailed logging level may dramatically significantly reduce the System performance. |
Configuration files are located in directory the /opt/iw/tm5/etc. All processes have warning logging level by default warning directory. By default, the warning level is used for all processes. To change the logging level for Traffic Monitor Server processes: - In the configuration file of the required process, in section
Logging set for parameter GlobalLevel required valuefind the Logging section and set the needed value for GlobalLevel parameter. - Save changes.
- After committing changes to system journalyou have changed the system log, restart the process:
service iwtm restart service<service_name All processes name>
By default, all process logs are being saved stored in catalogue the /var/log/infowatch directory. For extractors , which do not have an individual a separate configuration file, the logging level can be set in configuration file the /opt/iw/tm5/etc/config-perm/bookworm/extractors.confxml configuration file: - Open the configuration file;.
- For parameter For
text-extractor add parameter, add the value –l <level> Where <level> , where <level> is the recording logging level. ExampleFor example:
}, "docx": {
"Command": [ " <Command> bin/text-extractor –l error -t ooxml - i Dollars {{SRC} -d i ${OUTDIR}"<Command>- After you have made changes, restart processes:
iwtm restart bookworm
iwtm restart warpd
| Информация |
|---|
| This type of configuring the logging configuration level is only available for extractors of the following formats: docx, html, msoffice_xml, msole, odp, odt, pptx, xlsx, xml. |
|