Add log() to security registry

implements #1