Configuring global options

The syslog-ng application has a number of global options governing DNS usage, the timestamp format used, and other general points. Each option may have parameters, similarly to driver specifications. To set global options, add an options statement to the syslog-ng.conf configuration file using the following syntax:

   options { option1(params); option2(params); ... };

Example: Using global options

To disable domain name resolving, add the following line to the syslog-ng.conf configuration file:

   options { use-dns(no); };

For a detailed list of the available options, see Global options reference. For important global options and recommendations on their use, see Best practices and examples.