broker config

master
Martin Polanka 8 years ago
parent bd3a8f8857
commit 2acbc39079

@ -141,6 +141,14 @@ Mandatory items are bold, optional italic.
- _workers_ - specifies address and port to bind for workers - _workers_ - specifies address and port to bind for workers
- _address_ - hostname or IP address as string (`*` for any) - _address_ - hostname or IP address as string (`*` for any)
- _port_ - desired port - _port_ - desired port
- _monitor_ - settings of monitor service connection
- _address_ - IP address of running monitor service
- _port_ - desired port
- _frontend_ - details of connection which is used in case of errors and good to know states
- _address_ - address where frontend API runs
- _port_ - desired port
- _username_ - username which can be used for HTTP authentication
- _password_ - password which can be used for HTTP authentication
- _logger_ - settings of logging capabilities - _logger_ - settings of logging capabilities
- _file_ - path to the logging file with name without suffix. `/var/log/recodex/broker` item will produce `broker.log`, `broker.1.log`, ... - _file_ - path to the logging file with name without suffix. `/var/log/recodex/broker` item will produce `broker.log`, `broker.1.log`, ...
- _level_ - level of logging, one of `off`, `emerg`, `alert`, `critical`, `err`, `warn`, `notice`, `info` and `debug` - _level_ - level of logging, one of `off`, `emerg`, `alert`, `critical`, `err`, `warn`, `notice`, `info` and `debug`
@ -158,6 +166,14 @@ clients:
workers: workers:
address: "*" address: "*"
port: 9657 port: 9657
monitor:
address: "127.0.0.1"
port: 7894
frontend:
address: "127.0.0.1"
port: 8080
username: ""
password: ""
logger: logger:
file: "/var/log/recodex/broker" # w/o suffix - actual names will be broker.log, broker.1.log, ... file: "/var/log/recodex/broker" # w/o suffix - actual names will be broker.log, broker.1.log, ...
level: "debug" # level of logging level: "debug" # level of logging

Loading…
Cancel
Save