mvantellingen / python-zeep

A Python SOAP client
http://docs.python-zeep.org
Other
1.89k stars 587 forks source link

Zeep unnecessary logs #851

Closed nile2203 closed 5 years ago

nile2203 commented 6 years ago

[2018-10-23 16:05:54,541: DEBUG/Worker-1] Init schema document for None [2018-10-23 16:05:54,541: DEBUG/Worker-1] register_type(u'{http://www.w3.org/2001/XMLSchema}string', <zeep.xsd.types.builtins.String object at 0x7f5a6c7abb50>) [2018-10-23 16:05:54,541: DEBUG/Worker-1] register_type(u'{http://www.w3.org/2001/XMLSchema}boolean', <zeep.xsd.types.builtins.Boolean object at 0x7f5a6c7aba90>) [2018-10-23 16:05:54,541: DEBUG/Worker-1] register_type(u'{http://www.w3.org/2001/XMLSchema}decimal', <zeep.xsd.types.builtins.Decimal object at 0x7f5a6c7abd50>) [2018-10-23 16:05:54,541: DEBUG/Worker-1] register_type(u'{http://www.w3.org/2001/XMLSchema}float', <zeep.xsd.types.builtins.Float object at 0x7f5a6c7abb10>) [2018-10-23 16:05:54,541: DEBUG/Worker-1] register_type(u'{http://www.w3.org/2001/XMLSchema}double', <zeep.xsd.types.builtins.Double object at 0x7f5a6c7abbd0>) [2018-10-23 16:05:54,541: DEBUG/Worker-1] register_type(u'{http://www.w3.org/2001/XMLSchema}duration', <zeep.xsd.types.builtins.Duration object at 0x7f5a6c7abb90>) [2018-10-23 16:05:54,542: DEBUG/Worker-1] register_type(u'{http://www.w3.org/2001/XMLSchema}dateTime', <zeep.xsd.types.builtins.DateTime object at 0x7f5a6bcaf390>) [2018-10-23 16:05:54,542: DEBUG/Worker-1] register_type(u'{http://www.w3.org/2001/XMLSchema}time', <zeep.xsd.types.builtins.Time object at 0x7f5a6bcaf3d0>) [2018-10-23 16:05:54,542: DEBUG/Worker-1] register_type(u'{http://www.w3.org/2001/XMLSchema}date', <zeep.xsd.types.builtins.Date object at 0x7f5a6bcaf410>) [2018-10-23 16:05:54,542: DEBUG/Worker-1] register_type(u'{http://www.w3.org/2001/XMLSchema}gYearMonth', <zeep.xsd.types.builtins.gYearMonth object at 0x7f5a6bcaf450>) [2018-10-23 16:05:54,542: DEBUG/Worker-1] register_type(u'{http://www.w3.org/2001/XMLSchema}gYear', <zeep.xsd.types.builtins.gYear object at 0x7f5a6bcaf5d0>) [2018-10-23 16:05:54,542: DEBUG/Worker-1] register_type(u'{http://www.w3.org/2001/XMLSchema}gMonthDay', <zeep.xsd.types.builtins.gMonthDay object at 0x7f5a6bcaf610>) [2018-10-23 16:05:54,542: DEBUG/Worker-1] register_type(u'{http://www.w3.org/2001/XMLSchema}gDay', <zeep.xsd.types.builtins.gDay object at 0x7f5a6bcaf650>) [2018-10-23 16:05:54,542: DEBUG/Worker-1] register_type(u'{http://www.w3.org/2001/XMLSchema}gMonth', <zeep.xsd.types.builtins.gMonth object at 0x7f5a6bcaf690>) [2018-10-23 16:05:54,542: DEBUG/Worker-1] register_type(u'{http://www.w3.org/2001/XMLSchema}hexBinary', <zeep.xsd.types.builtins.HexBinary object at 0x7f5a6bcaf6d0>) [2018-10-23 16:05:54,542: DEBUG/Worker-1] register_type(u'{http://www.w3.org/2001/XMLSchema}base64Binary', <zeep.xsd.types.builtins.Base64Binary object at 0x7f5a6bcaf710>) [2018-10-23 16:05:54,542: DEBUG/Worker-1] register_type(u'{http://www.w3.org/2001/XMLSchema}anyURI', <zeep.xsd.types.builtins.AnyURI object at 0x7f5a6bcaf750>) [2018-10-23 16:05:54,543: DEBUG/Worker-1] register_type(u'{http://www.w3.org/2001/XMLSchema}QName', <zeep.xsd.types.builtins.QName object at 0x7f5a6bcaf790>) [2018-10-23 16:05:54,543: DEBUG/Worker-1] register_type(u'{http://www.w3.org/2001/XMLSchema}NOTATION', <zeep.xsd.types.builtins.Notation object at 0x7f5a6bcaf7d0>) [2018-10-23 16:05:54,543: DEBUG/Worker-1] register_type(u'{http://www.w3.org/2001/XMLSchema}normalizedString', <zeep.xsd.types.builtins.NormalizedString object at 0x7f5a6bcaf810>)

I am getting these logs everytime i am making a request using zeep and I dont want them to be added in my logs. Please suggest something. Thanks in advance

mvantellingen commented 5 years ago

Turn down your debugging level. You probably set it yourself to debug 🤡

nile2203 commented 5 years ago

Hi,

Can you send steps how this can be done? I could not find anything in zeep packages to turn off the debug mode.

Regards Nilesh

[image: Mailtrack] https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5& Sender notified by Mailtrack https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5& 11/18/18, 6:50:09 PM

On Sun, Nov 18, 2018 at 2:43 AM Michael van Tellingen < notifications@github.com> wrote:

Turn down your debugging level. You probably set it yourself to debug 🤡

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mvantellingen/python-zeep/issues/851#issuecomment-439648071, or mute the thread https://github.com/notifications/unsubscribe-auth/ANWgZ-7ZgLcs8Q6wdMB9Z6elZk8rVBMMks5uwHwFgaJpZM4X1gZ0 .