updating logger so multiple variable can be passed in at once
minor refactoring
Merge branch 'master' into db-postgres