summaryrefslogtreecommitdiffstats
path: root/logging/logging_arm64.go
blob: 339d1087e81021973374fb06a37094fe1760efd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// +build linux,arm64

package logging

import (
	"os"
	"syscall"
)

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