--log options, default si no log, preserved std functionality

by default logging is not turned on