got basic log working

2 inlines - one to read, one to add