added configuration for setting debug level on logging
print some helpful debuging messages in transcoding
argument to allow logging of error to separate file