skaes/logjam_core — pull request #5 by plu (2013-12-21 16:48:48+00:00)
Title: Zmq error log

Hi Stefan,

on another instance I run into the problem of the limited ipc 0mq file name length. The logjam services started up just fine, but the ipc socket was never created. This patch logs error messages in this case. E.g.:

```
LJE[12562] Could not bind to socket /home/logjam/releases/7a7ca99d33d9e2424ff85e4d8c2c8d6788ebe761/tmp/sockets/state-logjam-production-12562.ipc: File name too long (36)
```

In addition we should maybe just let the service die? I mean, if it starts and it's not working, it's no help. And if the log goes to some file instead of STDOUT, failing early might be noticed early by the user. What do you think?

Cheers & merry christmas,
plu