Fix bug in CreateLogger when no config available