fixes to LogglyHandler to make it work :)