mohabusama / pyguacamole

Guacamole Python Client
MIT License
108 stars 34 forks source link

Pyguacamole logs #20

Closed jaberfat closed 1 year ago

jaberfat commented 1 year ago

I am using pyguacamole on a django project and I can't see pyguacamole logs. Is there something I should do other than adding pyguacamole to my LOGGING section in setting.py of my project ? or could I be doing it wrong ?

mohababdelhameed commented 1 year ago

you could enable the debug logs when initializing the client.

jaberfat commented 1 year ago

Thanks a lot, that didn't work for me, or at least I can't see the logs, so I did this configuration : logging.basicConfig( filename="/mylogpath/guac.log", filemode='a', level=logging.DEBUG ) and I passed logger=logging.getLogger() to the constructor of the client.