Import missing Logger class and improve error reporting when populate() fails

Signed-off-by: Andrew Phelps <andrew@phel.ps>