accre / lstore

LStore - A fault-tolerant, performant distributed data storage framework.
http://www.lstore.org
Apache License 2.0
4 stars 5 forks source link

Need a signal to reopen logs #115

Open PerilousApricot opened 8 years ago

PerilousApricot commented 8 years ago

To best support logrotate, it would be nice to have a signal that the toolbox/log.c will eat to close/reopen the logfile. Looking around, it seems like there's different semantics between HUP and USR1, so I'm not sure what we want by default. (hup seems to imply "reload configuration", which is difficult for us to do today).

The other thing to think about for the future is how we'd like to treat logging for external programs that import lstore as a shared library. In the short term, for this ticket, we probably want to export: