logging

I think I'd also like to standardize the log levels to something like error/warn/info/debug/trace