diff options
Diffstat (limited to 'xlators/features/marker/utils/syncdaemon/gsyncd.py')
-rw-r--r-- | xlators/features/marker/utils/syncdaemon/gsyncd.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xlators/features/marker/utils/syncdaemon/gsyncd.py b/xlators/features/marker/utils/syncdaemon/gsyncd.py index a502c200..313bfdb0 100644 --- a/xlators/features/marker/utils/syncdaemon/gsyncd.py +++ b/xlators/features/marker/utils/syncdaemon/gsyncd.py @@ -92,6 +92,7 @@ def startup(**kw): else: lkw['filename'] = kw['log_file'] GLogger.setup(label=kw.get('label'), **lkw) + gconf.log_exit = True def main(): signal.signal(signal.SIGTERM, lambda *a: finalize(*a, **{'exval': 1})) @@ -298,8 +299,6 @@ def main_i(): os.close(ffd) local.service_loop(*[r for r in [remote] if r]) - logging.info("exiting.") - if __name__ == "__main__": main() |