add defaults and null checks to log items and tags before posting; consolidate file and line