Added correct log handlers (bug 807131)