Log to server log when security terminals are broken

Adds #118 

Haven't done this because it seems to require async operations.