aprsd 4.1.1__py3-none-any.whl → 4.1.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
aprsd/log/log.py CHANGED
@@ -51,7 +51,7 @@ class InterceptHandler(logging.Handler):
51
51
  # Setup the log faciility
52
52
  # to disable log to stdout, but still log to file
53
53
  # use the --quiet option on the cmdln
54
- def setup_logging(loglevel=None, quiet=False):
54
+ def setup_logging(loglevel=None, quiet=False, custom_handler=None):
55
55
  if not loglevel:
56
56
  log_level = CONF.logging.log_level
57
57
  else:
@@ -107,6 +107,9 @@ def setup_logging(loglevel=None, quiet=False):
107
107
  },
108
108
  )
109
109
 
110
+ if custom_handler:
111
+ handlers.append(custom_handler)
112
+
110
113
  # configure loguru
111
114
  logger.configure(handlers=handlers)
112
115
  logger.level('DEBUG', color='<fg #BABABA>')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: aprsd
3
- Version: 4.1.1
3
+ Version: 4.1.2
4
4
  Summary: APRSd is a APRS-IS server that can be used to connect to APRS-IS and send and receive APRS packets.
5
5
  Author-email: Craig Lamparter <craig@craiger.org>, "Walter A. Boring IV" <waboring@hemna.com>, Emre Saglam <emresaglam@gmail.com>, Jason Martin <jhmartin@toger.us>, John <johng42@users.noreply.github.com>, Martiros Shakhzadyan <vrzh@vrzh.net>, Zoe Moore <zoenb@mailbox.org>, ranguli <hello@joshmurphy.ca>
6
6
  Maintainer-email: Craig Lamparter <craig@craiger.org>, "Walter A. Boring IV" <waboring@hemna.com>
@@ -31,7 +31,7 @@ aprsd/conf/log.py,sha256=qBoF8ptGHK7G6NPHNZCE2PBH7S-L587wFkT-9ikUtfE,1656
31
31
  aprsd/conf/opts.py,sha256=kbZELePpBDoQrKbowbWHgmLksbREARU8T8UhX9FIhq8,2725
32
32
  aprsd/conf/plugin_common.py,sha256=H7LxiJL0Sl1D_dpAmJHEHSbPxaOK938M1WCOcTpOYN8,1990
33
33
  aprsd/log/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
34
- aprsd/log/log.py,sha256=4DKD445Hh72hd0HsywMyhQR7EreO_G-56PFpvWxEXxo,3000
34
+ aprsd/log/log.py,sha256=W_vRKJ3P4VQaxxCjNdWCl7UmrRB8l7m_pCUi4XiOk6w,3085
35
35
  aprsd/packets/__init__.py,sha256=IW61OJOAJ8_Deio72OEOngDuHHm7KzHjj5Bergr7e5g,1110
36
36
  aprsd/packets/collector.py,sha256=VhuHj2CRxVtaC6QDKiYMnxRzNVj-fc7wkMyPpTl83Og,2322
37
37
  aprsd/packets/core.py,sha256=uv2BfM6deHUbyC2aj20hxeZTsNZbjes6_MDQzxmDvys,27741
@@ -70,10 +70,10 @@ aprsd/utils/keepalive_collector.py,sha256=oAjxXbem00w1GImyWBqSasrdrruSzUyIUU-qDT
70
70
  aprsd/utils/objectstore.py,sha256=0OivUeagncWGH7eWjTwZhauf-etweTabp8Oykt0hoF4,3541
71
71
  aprsd/utils/ring_buffer.py,sha256=lWWuw7lEbc2URhqAJfRLjpXBDLiK6UUWzk3j2VFnERQ,1111
72
72
  aprsd/utils/trace.py,sha256=lIuDZHOjvWbL2IMJ2tN_XW4Ch8oe4uQ7uLGylUByli0,5687
73
- aprsd-4.1.1.dist-info/AUTHORS,sha256=fGZhgXFMCfDPbp0hHllwmPyfiKPobLNA3sJA3BMIJVE,22
74
- aprsd-4.1.1.dist-info/LICENSE,sha256=CeipvOyAZxBGUsFoaFqwkx54aPnIKEtm9a5u2uXxEws,10142
75
- aprsd-4.1.1.dist-info/METADATA,sha256=b6s6Oo7lJEXrjWnw4e5-fZyI1YCAaOAvA-rTbAF2c3s,45603
76
- aprsd-4.1.1.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
77
- aprsd-4.1.1.dist-info/entry_points.txt,sha256=4fReoJUB-bFqOUK6eeXYYCvTdVLprL7KVH0hWQRP9eM,171
78
- aprsd-4.1.1.dist-info/top_level.txt,sha256=v1O96niUcJOTMh9aQnFRknbScJ6mMOwqurdbxeaeSjs,6
79
- aprsd-4.1.1.dist-info/RECORD,,
73
+ aprsd-4.1.2.dist-info/AUTHORS,sha256=fGZhgXFMCfDPbp0hHllwmPyfiKPobLNA3sJA3BMIJVE,22
74
+ aprsd-4.1.2.dist-info/LICENSE,sha256=CeipvOyAZxBGUsFoaFqwkx54aPnIKEtm9a5u2uXxEws,10142
75
+ aprsd-4.1.2.dist-info/METADATA,sha256=VKJ51Jnmilt8MsnTlt2YFAV8VQfJRyX85jHPHqPe3Jk,45603
76
+ aprsd-4.1.2.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
77
+ aprsd-4.1.2.dist-info/entry_points.txt,sha256=4fReoJUB-bFqOUK6eeXYYCvTdVLprL7KVH0hWQRP9eM,171
78
+ aprsd-4.1.2.dist-info/top_level.txt,sha256=v1O96niUcJOTMh9aQnFRknbScJ6mMOwqurdbxeaeSjs,6
79
+ aprsd-4.1.2.dist-info/RECORD,,
File without changes
File without changes
File without changes