Optional logging to syslog.

Remove old loging macro.
Use a longer sleep time for travis.

Add the possiblity to customize the sleep time through env
variable.