Fix joins error in log.rb