jasmin
jasmin copied to clipboard
log format with b''
HI everyone, I am using jasmin 0.10.9v. I got logs from sms sent surrounded by b' ' for content, to and from items. I don't know what does it mean or even if it's an misconfiguration. Can someone could explain me and tell me if possible how to remove that?
2022-04-01 19:01:24 INFO 342472 SMS-MT [uid:xxxx] [cid:Net] [msgid:8a0a971a-7123-44b7-babe-bab1692fd497] [prio:1] [from:b'xxxx'] [to:b'XX'] [content:b'Test envoi SMS via SMPP du 2022-04-01 19:01:24'] 2022-04-01 19:01:41 INFO 342472 DELIVER_SM [uid:xxxx] [from:b'xxxx'] [to:b'XX'] [content:b"id:8a0a971a-7123-44b7-babe-bab1692fd497 submit date:2204011901 done date:2204011901 stat:DELIVRD err:b'000'"]
THanks in advance my dear
The content is displayed in bytes, you should ideally decode the content with content.decode().
Thank you for yr answer. Got it
I got similar issue with you. Also i'm newby for this. Please tell me how to resolve this issue. Thanks