common: Enable log system

Use export LIBYAMI_LOG_LEVEL=log_level to set the control flag, export LIBYAMI_LOG=log_file to set the file location

Signed-off-by: Tang Xin <xin.t.tang@intel.com>