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