log first for bind() convenience