[coherence-dev] The problem with the logging

Alexander Bondarenko alxndr.bondarenko at gmail.com
Thu May 14 20:43:23 CEST 2009


I'm a newbie with coherence. And immediately after the install I encountered
such a problem. When I try to redirect logs from the console to the file, I
receive these errors in the log:

Traceback (most recent call last):
  File "C:\Python25\lib\site-packages\twisted\internet\base.py", line 374,
in fireEvent
    DeferredList(beforeResults).addCallback(self._continueFiring)
  File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 195,
in addCallback
    callbackKeywords=kw)
  File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 186,
in addCallbacks
    self._runCallbacks()
  File "C:\Python25\lib\site-packages\twisted\internet\defer.py", line 328,
in _runCallbacks
    self.result = callback(self.result, *args, **kw)
--- <exception caught here> ---
  File "C:\Python25\lib\site-packages\twisted\internet\base.py", line 387,
in _continueFiring
    callable(*args, **kwargs)
  File
"c:\python25\lib\site-packages\coherence-0.6.2-py2.5.egg\EGG-INFO\scripts\coherence",
line 250, in main
    c = Coherence(config)
  File
"c:\python25\lib\site-packages\coherence-0.6.2-py2.5.egg\coherence\base.py",
line 201, in __new__
    obj.setup(*args, **kwargs)
  File
"c:\python25\lib\site-packages\coherence-0.6.2-py2.5.egg\coherence\base.py",
line 264, in setup
    log.init(logfile, _debug)
  File
"c:\python25\lib\site-packages\coherence-0.6.2-py2.5.egg\coherence\log.py",
line 57, in init
    outputToFiles(stdout=None, stderr=logfile)
  File
"c:\python25\lib\site-packages\coherence-0.6.2-py2.5.egg\coherence\extern\log\log.py",
line 696, in outputToFiles
    handler = signal.signal(signal.SIGHUP, sighup)
exceptions.AttributeError: 'module' object has no attribute 'SIGHUP'

Any help is really appreciated.

My setup:
MS Windows XP SP3, Python 2.5.4, Twisted 8.2.0 for Python 2.5, Coherence
0.6.2 (installed with help of easy_install)

My config is:

logmode = log
logfile = c:/temp/coherence.log
serverport = 30020
controlpoint = no
web-ui = yes
 	
[subsystem_log]
coherence = info
SSDP = info
MSEARCH = info
SOAP = info
Action = info
Variable = info
Event = info
Service_Server = info
Service_Client = info
Device = info
Connection_Manager_Server = info
MediaServer= info
MediaRenderer= log
ControlPoint = info
MS_Client = info
 	
[plugins]
[[FSStore]]
    name = Coherence Test Content
    content = d:/Video/Coherence
[[AppleTrailersStore]] 
    name = Apple Trailers
-- 
View this message in context: http://n2.nabble.com/The-problem-with-the-logging-tp2898116p2898116.html
Sent from the coherence-dev mailing list archive at Nabble.com.




More information about the coherence-dev mailing list