Fixing the build. It was failing on me. config["port"] returns C++ string object
but the syslog function does not understand that. The compiler was complaining
with 'cannot pass objects of non-trivially-copyable type'.
Besides that, there was the classic mistake of the C language no type safety.
In the syslog format string, '%d' was referenced to a string but '%d' stands
for 'an integer'. If lucky it would crash on memory access violation. If unlucky
it would just print a random number.
C++ is trying to be as much type-safe as possible. C++ cout class is a one
example of that. But that is not possible when facing C functions so extra care
has to be taken.