factorgraph_logging writes better log
half fix of the issue #5