diff --git a/direct/src/distributed/AstronInternalRepository.py b/direct/src/distributed/AstronInternalRepository.py index 34861979b4..77ff801903 100644 --- a/direct/src/distributed/AstronInternalRepository.py +++ b/direct/src/distributed/AstronInternalRepository.py @@ -31,6 +31,13 @@ class AstronInternalRepository(ConnectionRepository): self.eventLogId = self.config.GetString('eventlog-id', 'AIR:?') self.eventSocket = None + eventLogHost = self.config.GetString('eventlog-host', '') + if eventLogHost: + if ':' in eventLogHost: + host, port = eventLogHost.split(':', 1) + self.setEventLogHost(host, int(port)) + else: + self.setEventLogHost(eventLogHost) self.readDCFile(dcFileNames)