aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2022-09-15 09:12:10 +0200
committerAnton Khirnov <anton@khirnov.net>2022-09-15 09:12:10 +0200
commit0cbeb86c43197fab42034d08c40311fe4f034e0d (patch)
tree413b0a3469c2dbb5204293bc1f2d0d0a9ff56721
parent126673ad0d0861e7347391ad9f8d23a1b1e28bcb (diff)
Log the bind address/port/family.
-rwxr-xr-xfshare.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/fshare.py b/fshare.py
index 85aae01..304266d 100755
--- a/fshare.py
+++ b/fshare.py
@@ -334,6 +334,8 @@ class FShareServer(hs.ThreadingHTTPServer):
self.address_family = family
+ self._logger.info('Binding to: %s:%d/%s', address[0], address[1], family.name)
+
super().__init__(address, FShareRequestHandler)
# parse commandline arguments