fixed segfault for unnamed loggers