fixed few lines to properly load the logger in xApp