replace logging with ec_cmd_log from erlware_commons