error msgs in console
Hi, I'm encountering an issue with this project. I'm using it in a python cli I wrote. if I run through a proxy and there is an issue (sslError, ProxyError) than the defuat is to backup to file and that's alright. my problem is that the error msg is printed in the console and I don't want that. even if I catch some of those errors, the main problem I'm encountering is the code that runs when main is done. my users get these msgs in their console:
Got exception while sending logs to Logz.io, Try (1/4). Message: HTTPSConnectionPool(host='listener.logz.io', port=8071): Max retries exceeded with url: /?token=*** (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1007)'))) [...] Could not send logs to Logz.io after 4 tries, backing up to local file system Backing up your logs to logzio-failures-28032024-150037.txt
how can I avoide that? I see options in the streamhandler but I can't access and modify tham from my side, can you help?
@shacharovercast Apologies for the delay in our response. Did you manage to handle the issue?
If not, can you please share the relevant code sample and your configuration? As well as details on the environment so we can try to reproduce. Thanks in advance.