moved the logger to general util