Add log for prometheus collector start
This commit is contained in:
parent
31d33f2e7e
commit
87d85f06bd
@ -2485,7 +2485,12 @@ int main(int argc, char **argv)
|
||||
|
||||
drop_privileges();
|
||||
#if !defined(TURN_NO_PROMETHEUS)
|
||||
start_prometheus_server();
|
||||
if (start_prometheus_server()){
|
||||
TURN_LOG_FUNC(TURN_LOG_LEVEL_ERROR, "\nCould not start Prometheus collector!\n");
|
||||
}
|
||||
else {
|
||||
TURN_LOG_FUNC(TURN_LOG_LEVEL_INFO, "\nPrometheus collector started sucessfully.\n");
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user