mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
78abaa20ad
Summary: StartupLogger handles two independent scenarios: edenfs in daemon mode, and edenfs in foreground mode. I need to add a third for systemd support: edenfs in foreground mode but with startup logs written to a file. Refactor the existing StartupLogger into an abstract base class with two concrete derived classes: DaemonStartupLogger and ForegroundStartupLogger. This will make adding the systemd feature easy without confusing the logic for the existing scenarios. Aside from dropping the setsid() call for ForegroundStartupLogger, this diff should not change behavior. Reviewed By: simpkins Differential Revision: D10228156 fbshipit-source-id: fbc2c771c6fbb675779ef05ca3b7395b70b67485 |
||
---|---|---|
.. | ||
cli | ||
docs | ||
fs | ||
hooks | ||
integration | ||
py | ||
scripts | ||
test-data | ||
third-party | ||
win | ||
Eden.project.toml |