Fix no default value for module logger error and log priority undefined error