Skip to content
This repository was archived by the owner on Sep 24, 2024. It is now read-only.

Commit 72c8b2c

Browse files
Debug line for the local address used by FSL.
1 parent 9038989 commit 72c8b2c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

system/FileStorageLib.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ def __init__(self, fs_address = None, fs_port = None, basedir = None):
9999
self.bind_address = ''
100100
local_addresses = [ip for ip in socket.gethostbyname_ex(socket.gethostname())[2] if not ip.startswith("127.")] + ['localhost']
101101
self.local_address = local_addresses[0]
102+
Utils.log("Using %s as local address." % self.local_address, Utils.Logger.SEVERITY_DEBUG)
102103
self.remote_address = fs_address
103104

104105
self.fs = xmlrpclib.ServerProxy('http://%s:%d' % (fs_address, fs_port))

0 commit comments

Comments
 (0)