fixed logging using explicit names for loggers and building a hierarchy