How to suppress logging output on command line?
- Dominant language
- Python
- Stars
- 5k
- Forks
- 216
- PR merge metrics
- No merged PRs in 30d
Description
I can't use `ntfy.notify("message", "title")` since i'm using it with
```python
self.job = multiprocessing.Process(target=self.check_balance)
self.job.start()
```
in the `check_balance` function and that crashes Python so i'm using it with
```python
os.system(f"ntfy -t '{title}' send '{message}'")
```
but then i get this output on my command line:
```
bool b'B'
char b'c'
int b'i'
short b's'
long b'l'
long_long b'q'
unsigned_char b'C'
unsigned_int b'I'
unsigned_short b'S'
unsigned_long b'L'
unsigned_long_long b'Q'
float b'f'
double b'd'
BOOL b'Z'
UniChar b'T'
char_text b't'
char_int b'z'
CFXMLEntityInfo b'{_CFXMLEntityInfo=q^{__CFString=}{_CFXMLExternalID=^{__CFURL=}^{__CFString=}}^{__CFString=}}'
CFXMLElementInfo b'{_CFXMLElementInfo=^{__CFDictionary=}^{__CFArray=}Z[3c]}'
CFXMLAttributeListDeclarationInfo b'{_CFXMLAttributeListDeclarationInfo=q^{_CFXMLAttributeDeclarationInfo=^{__CFString=}^{__CFString=}^{__CFString=}}}'
CFXMLElementTypeDeclarationInfo b'{_CFXMLElementTypeDeclarationInfo=^{__CFString=}}'
CFGregorianDate b'{_CFGregorianDate=iccccd}'
CFXMLExternalID b'{_CFXMLExternalID=^{__CFURL=}^{__CFString=}}'
CFUUIDBytes b'{_CFUUIDBytes=CCCCCCCCCCCCCCCC}'
CFXMLAttributeDeclarationInfo b'{_CFXMLAttributeDeclarationInfo=^{__CFString=}^{__CFString=}^{__CFString=}}'
CFSwappedFloat32 b'{_CFSwappedFloat32=I}'
CFSwappedFloat64 b'{_CFSwappedFloat64=Q}'
CFXMLDocumentTypeInfo b'{_CFXMLDocumentTypeInfo={_CFXMLExternalID=^{__CFURL=}^{__CFString=}}}'
CFStreamError b'{_CFStreamError=qi}'
CFXMLEntityReferenceInfo b'{_CFXMLEntityReferenceInfo=q}'
CFXMLProcessingInstructionInfo b'{_CFXMLProcessingInstructionInfo=^{__CFString=}}'
CFRange b'{_CFRange=qq}'
CFSocketSignature b'{_CFSocketSignature=iii^{__CFData=}}'
CFXMLDocumentInfo b'{_CFXMLDocumentInfo=^{__CFURL=}I}'
CFGregorianUnits b'{_CFGregorianUnits=iiiiid}'
CFXMLNotationInfo b'{_CFXMLNotationInfo={_CFXMLExternalID=^{__CFURL=}^{__CFString=}}}'
NSEdgeInsets b'{NSEdgeInsets=dddd}'
NSHashEnumerator b'{_NSHashEnumerator=QQ^v}'
NSAffineTransformStruct b'{_NSAffineTransformStruct=dddddd}'
NSRect b'{CGRect={CGPoint=dd}{CGSize=dd}}'
NSOperatingSystemVersion b'{_NSOperatingSystemVersion=qqq}'
NSZone b'{_NSZone=}'
NSDecimal b'{_NSDecimal=b8b4b1b1b18[8S]}'
NSSize b'{CGSize=dd}'
NSPoint b'{CGPoint=dd}'
NSSwappedDouble b'{_NSSwappedDouble=Q}'
NSMapEnumerator b'{_NSMapEnumerator=QQ^v}'
NSSwappedFloat b'{_NSSwappedFloat=I}'
NSRange b'{_NSRange=QQ}'
```
My question would be, can i suppress that output? It's all working fine btw. And i have to add that i'm on macOS
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.