Moving bootstrap of logging into seperate module
Move to proper current scope ruby variable referencing. To stop deprecation warnings