[PATCH] Share Dup Daemon Function *SetupLogging