add global instance of logger and remove the locale instance