Fix logger in profiler instances