Hi all,
I'm trying to log the pyAMF request/response like:
logging.basicConfig(
level=logging.DEBUG,
format='%(asctime)s %(levelname)-5.5s [%(name)s] %(message)s'
)
...
gateway = TwistedGateway(services, logger=logging, expose_request=False)
...
and the following error come up:
File "/usr/share/pyamf/pyamf/remoting/gateway/twisted.py", line 197,
in __init__
gateway.BaseGateway.__init__(self, *args, **kwargs)
TypeError: __init__() got an unexpected keyword argument 'logger'
I've took the example from:
http://pyamf.org/wiki/TwistedHowtobut I run the snip like: python abc.py and not from .tac file.
All works just fine except while I'm trying to use the logger.
What am I missing guys?
Or may be there is a more easy way just to log the pyAMF request/response?
Appreciate the help.
_______________________________________________
PyAMF users mailing list -
users@...
http://lists.pyamf.org/mailman/listinfo/users