fix(logging.test.js): fix empty dirname and use existing log dir path
fix(logging.test.js): fix empty dirname and use existing log dir path

fix #297

GluuFederation/gluu-passport,GluuFederation/gluu-passport