foreground
The foreground command applies only to the DiffDog Server executable. Not for general use. This command runs the server in console mode (as a command line app, not as a service). This is also the default start-up mode if you invoke the executable without specifying a command. To stop running DiffDog Server in this mode, press Ctrl+C.
Syntax
diffdogserver foreground [options] |
Options
--config, --c
This option specifies the path to a server configuration file.
--loglevel, --L
Sets the reporting level for information, warning, and error messages. Valid values:
none | Suppress all logging. |
info | Report information, warning, and error messages. |
warning | Report error and warning messages. |
error | (Default) Report only error messages. |
--port
This option specifies the port on which DiffDog Server listens for requests. Setting this option is meaningful if DiffDog Server runs on a port other than the default 29800. As an alternative to setting this option at the command line, you can set it in the configuration file. Note that, if you set this value at the command line, it takes precedence over the one defined in the configuration file.
Examples
To start the executable in console mode, use:
diffdogserver foreground