summaryrefslogtreecommitdiffstats
path: root/logging/logging_other.go
blob: 6a48b69b51c729e75b8c7b05526b1402c09ff4ab (plain)
1
2
3
4
5
6
7
8
9
10
// +build !arm64

package logging

import "syscall"
import "os"

func stderrToLogfile(logfile *os.File) {
	syscall.Dup2(int(logfile.Fd()), 2)
}