mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-23 23:02:25 +00:00
node.py: advise twistd.log readers about flogtool
This commit is contained in:
parent
69b86ebe9a
commit
af1e2a1e2f
@ -393,6 +393,10 @@ class Node(service.MultiService):
|
||||
|
||||
incident_dir = os.path.join(self.basedir, "logs", "incidents")
|
||||
foolscap.logging.log.setLogDir(incident_dir.encode(get_filesystem_encoding()))
|
||||
twlog.msg("Foolscap logging initialized")
|
||||
twlog.msg("Note to developers: twistd.log does not receive very much.")
|
||||
twlog.msg("Use 'flogtool tail -c NODEDIR/private/logport.furl' instead")
|
||||
twlog.msg("and read docs/logging.rst")
|
||||
|
||||
def log(self, *args, **kwargs):
|
||||
return log.msg(*args, **kwargs)
|
||||
|
Loading…
Reference in New Issue
Block a user