I try to write a small service with twisted.
I created a simple Application, and try to add 2 ILogObservers to my service. But unfortunatly, it doesnt work. The last added Observer is always the observer that will be used.
def log(eventDict):
...
def mylog(eventDict):
...
LoopingCall(logSomething).start(1)
application = Application("twistd-logging")
application.setComponent(ILogObserver, log)
application.setComponent(ILogObserver, mylog)
Thanks in advance for your help.