Log some message and exit