foreground
The foreground command runs the server in console mode (as a command line app, not as a service).
Syntax
diffdogserver foreground [options]
Notes
•Console mode is also the default start-up mode if you invoke the executable without specifying a command.
•To stop running DiffDog Server in console mode, press Ctrl+C.
Options
Specifies the path to a server configuration file.
|
Sets the reporting level to show information, warning, or error messages. Valid values are:
•none: Suppress all logging •info: Report information, warning, and error messages •warning: Report error and warning messages •error: (Default) Report only error messages
|
Specifies the port on which DiffDog Server listens for requests. If this option is not set, then the port specified in the Client Configuration File will be used (29800 by default). The --port option overrides the setting in the config file.
|
Examples
To start the executable in console mode, use:
diffdogserver foreground