2020-12-29 07:07:12 +08:00
|
|
|
// Systemd interface for non-Unix variants only
|
|
|
|
|
2023-11-29 17:25:30 +08:00
|
|
|
//go:build !unix
|
2020-12-29 07:07:12 +08:00
|
|
|
|
|
|
|
package log
|
|
|
|
|
|
|
|
import (
|
|
|
|
"runtime"
|
2024-08-18 22:58:35 +08:00
|
|
|
|
|
|
|
"github.com/rclone/rclone/fs"
|
2020-12-29 07:07:12 +08:00
|
|
|
)
|
|
|
|
|
2023-11-29 17:25:30 +08:00
|
|
|
// Enables systemd logs if configured or if auto-detected
|
2020-12-29 07:07:12 +08:00
|
|
|
func startSystemdLog() bool {
|
2024-08-18 22:58:35 +08:00
|
|
|
fs.Fatalf(nil, "--log-systemd not supported on %s platform", runtime.GOOS)
|
2020-12-29 07:07:12 +08:00
|
|
|
return false
|
|
|
|
}
|
2023-11-29 17:25:30 +08:00
|
|
|
|
|
|
|
func isJournalStream() bool {
|
|
|
|
return false
|
|
|
|
}
|