Update Downloader server configuration file

Linux

The configuration file for the server is located in /etc/ometadownloader/ometadownloader.conf

After modifying the server configuration file you must restart the Metascan service in order for the changes to take effect. You should use the distribution-standard way to restart the ometadownloader service.

[global] section

parameterdefault valuerequireddescription
restaddress0.0.0.0requiredOne of the IP addresses of the computer that runs the product to serve REST API and web user interface (0.0.0.0 means all interface)
restport8028requiredDesignated port number for the web and REST interface

[logger] section

keydefault valuerequireddescription
logfile/var/log/ometadownloader/ometadownloader.logoptionalFull path of a logfile to write log messages to
loglevelinfooptionalLevel of logging. Supported values are: debug, info, warning, error
syslogoptionalSwitch on logging to a local ('local') or remote ('protocol://hostname:port') syslog server
syslog_leveloptionalLevel of logging. Supported values are: debug, info, warning, error
overrideoptionaloverride specific log ids to display them on another level e.g.: "1723:error,663:info"
ceffalseoptionalIf true, the log format is Common Event Format.

You should set both of syslog and syslog_level or none of them and you should set both of logfile and loglevel or none of them.

Windows

The configuration for the server is located in Windows Registry

After modifying the server configuration file you must restart the OPSWAT Metadefender Update Downloader service in order for the changes to take effect.

Default logging target is Windows event log with default level of info (see below).

HKEY_LOCAL_MACHINE\SOFTWARE\OPSWAT\Metadownloader\global

parameterdefault valuetyperequireddescription
restaddress0.0.0.0string valuerequiredOne of the IP addresses of the computer that runs the product to serve REST API and web user interface (0.0.0.0 means all interface)
restport8028string valuerequiredDesignated port number for the web and REST interface

HKEY_LOCAL_MACHINE\SOFTWARE\OPSWAT\Metadownloader\logger

keydefault valuetyperequireddescription
logfilestring valueoptionalLocation of a logfile to write log messages to
loglevelstring valueoptionalLevel of logging. Supported values are: debug, info, warning, error
wineventlog_levelinfostring valueoptionalLevel of logging. Supported values are: debug, info, warning, error
syslogstring valueoptionalValue can only by in form of udp://<hostname>:<port>
syslog_levelstring valueoptionalLevel of logging. Supported values are: debug, info, warning, error
overridestring valueoptionaloverride specific log ids to display them on another level e.g.: "1723:error,663:info"
ceffalsestring valueoptionalIf true, the log format is Common Event Format.

You should set both of syslog and syslog_level or none of them and you should set both of logfile and loglevel or none of them.

For override a list of log message ids needed with optionally a level. If there is no level set for an id, it will be displayed on every occasion. e.g.: "1723,663:info" means id 1723 dump message will be displayed every time and id 663 warning message is reduced to info level.

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard