bigfixing & logging
connection log writing