irmen / Pyro5

Pyro 5 - Python remote objects
https://pyro5.readthedocs.io
MIT License
305 stars 36 forks source link

logging for every call #25

Closed zbynekdrlik closed 4 years ago

zbynekdrlik commented 4 years ago

Is it possible to see in logs every function call - method name and parameters?

irmen commented 4 years ago

More or less. Enable Pyro's logging and also set the LOGWIRE config item. You can then inspect the serpent-serialized messages that are exchanged. These messages include the object, method and arguments. If that is not what you want you'll have to build custom logging logic yourself.