Change design of logger to non-singleton instance