diff --git a/log/log.go b/log/log.go index b96cc50..0a47862 100644 --- a/log/log.go +++ b/log/log.go @@ -49,13 +49,13 @@ func Reopen(args string) { return } Log.Notice("Reopening log file per IPC request...") - logRedirectStdOutToFile(logFile) + LogRedirectStdOutToFile(logFile) Log.Notice("Reopened log file per IPC request") } // If there are any existing fd's (e.g. we're reopening logs), we rely // on garbage collection to clean them up for us. -func logRedirectStdOutToFile(logPath string) { +func LogRedirectStdOutToFile(logPath string) { if logPath == "" { Log.Fatal("Log Path not set") }