-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simplify servicelogger.py
's search for the servicevessel
#119
Comments
We keep the node manager state in memory anyways in the nmmain's module On Thu, Jul 30, 2015 at 10:45 AM, aaaaalbert [email protected]
|
Yes, we can do that for nodemanager's use of servicelogger (assuming we refactor the A bigger problem exists in I think that the Repy sandbox should not take care of setting up log files itself, but rather use standard streams, and have the nodemanager redirect them to the appropriate places. I'll open another issue for this. |
What if this runs without a node manager? For example, as a standalone On Tue, Aug 11, 2015 at 10:10 AM, aaaaalbert [email protected]
|
In the usual running-local case, |
The servicelogger currently uses a rather complicated way to find out where it should put its logfiles to:
vesseldict
.
(the current directory) is used.The first two items could be implemented in a more general way by just
persist.restore_object
ing thenodeman.cfg
that plainly states the name of the servicevessel.The theoretical downside I can see is that if the servicevessel owner decided to give up the vessel, and/or the owner of another vessel on the node transferred ownership to the servicevessel pubkey, then
nodeman.cfg
would not reflect the new assignement, whereasvesseldict
would, and the service logs would end up in the wrong vessel. (I don't think this has ever happened though. The clearinghouse does nothing like that.)The text was updated successfully, but these errors were encountered: