Change where logger is initialized