Changed dumper to use logger