Pass logger object to the mainsettings hash for a usage