Use log writer instead of crap

Signed-off-by: Guillaume Poirier-Morency <guillaumepoiriermorency@gmail.com>