log: setup logging, fixes #17