Fix syslog example for custom configuration in client.d

As it was, nobody would be able to get the example to work. Better to show people the full solution in the example than just frustrate them with a non-working 90% code.