Added logging.js