Fix example
Add logging based on winston