Controller
The controller is the main part of the Netplex system that starts and stop the individual service containers.
Create a controller with the default event system
Create a controller for the passed event system
Extracts the controller config
There is a controller
section that may configure the controller:
netplex {
...
controller {
socket_directory = "/var/run/myapp_sockets";
max_level = "debug";
logging { ... };
}
...
}
The socket_directory
overrides the location where the special
directory with Unix Domain sockets and other runtime files is
created.
The max_level
parameter defines the global maximum log level.
It defaults to "info". By setting it to "debug" (as shown) debug
logging is enabled. This parameter can be modified at runtime.
The logging
section is explained in [root:Netplex_log].