Improved formatter, and removed parent handlers so that it doesn't log twice