[tahoe-lafs-trac-stream] [tahoe-lafs] #2045: Make the paths of the different folders configurable
tahoe-lafs
trac at tahoe-lafs.org
Fri Jan 3 16:35:25 UTC 2014
#2045: Make the paths of the different folders configurable
-------------------------+-------------------------------------------------
Reporter: meskio | Owner: leif
Type: | Status: new
enhancement | Milestone: undecided
Priority: normal | Version: 1.10.0
Component: code- | Keywords: FHS unix daemon twistd review-
nodeadmin | needed
Resolution: |
Launchpad Bug: |
-------------------------+-------------------------------------------------
Comment (by meskio):
Replying to [comment:33 bertagaz]:
> Actually you might be raising an interesting point in favor of keeping
logdir (which was the historical name in tahoe) rather than switching to
logfile, as incidents_dir is using the value of the first one if set to
compute its own value. That is how I understand it. Switching to logfile
might introduce more complexity into the patch (and probably elsewhere),
for not so much gain IMHO. I think the patches are quite good at the
moment.
>
> So is the logfile switch (not so related to FHS btw) very much needed in
the end?
The parameter --logdir is introduced by my patches. There was already some
internal variables with name 'logdir', that is why I used the name.
I think --logdir is simpler than --logfile, because it allows us to reuse
the concept to compute 'incidents_dir'. But it's true that if you have
several nodes you will need different folders for the logs. Using
--logfile (so specify the file name) will allow to have the log files of
all the nodes in the same folder just with different names. But then we
might need to add an extra parameter to create-node to be able to set the
incidents_dir.
I don't have an strong opinion about it. bertagaz, you did more thinking
about how all that will fit in debian, do you prefer one option on top of
the other? What is your opinion leif?
In case that we go for --logdir the patches are ready for another review.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2045#comment:34>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list