mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-04 12:14:11 +00:00
set up logging before init_connections
This commit is contained in:
parent
1f09e8f3ce
commit
0e3225ac27
@ -138,14 +138,16 @@ class Node(service.MultiService):
|
|||||||
|
|
||||||
self.init_tempdir()
|
self.init_tempdir()
|
||||||
self.check_privacy()
|
self.check_privacy()
|
||||||
|
|
||||||
|
self.create_log_tub()
|
||||||
|
self.logSource="Node"
|
||||||
|
self.setup_logging()
|
||||||
|
|
||||||
self.init_connections()
|
self.init_connections()
|
||||||
self.set_tub_options()
|
self.set_tub_options()
|
||||||
self.create_main_tub()
|
self.create_main_tub()
|
||||||
self.create_control_tub()
|
self.create_control_tub()
|
||||||
self.create_log_tub()
|
|
||||||
self.logSource="Node"
|
|
||||||
|
|
||||||
self.setup_logging()
|
|
||||||
self.log("Node constructed. " + get_package_versions_string())
|
self.log("Node constructed. " + get_package_versions_string())
|
||||||
iputil.increase_rlimits()
|
iputil.increase_rlimits()
|
||||||
|
|
||||||
@ -289,7 +291,7 @@ class Node(service.MultiService):
|
|||||||
"tor": self._make_tor_handler(),
|
"tor": self._make_tor_handler(),
|
||||||
"i2p": self._make_i2p_handler(),
|
"i2p": self._make_i2p_handler(),
|
||||||
}
|
}
|
||||||
self.log("built Foolscap connection handlers for: %(known_handlers)s",
|
self.log(format="built Foolscap connection handlers for: %(known_handlers)s",
|
||||||
known_handlers=sorted([k for k,v in handlers.items() if v]),
|
known_handlers=sorted([k for k,v in handlers.items() if v]),
|
||||||
facility="tahoe.node", umid="PuLh8g")
|
facility="tahoe.node", umid="PuLh8g")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user