2021-05-23 04:25:33 +02:00
|
|
|
package logging
|
|
|
|
|
|
|
|
import (
|
|
|
|
"path/filepath"
|
|
|
|
|
|
|
|
"github.com/owncast/owncast/config"
|
|
|
|
)
|
|
|
|
|
2021-09-12 09:18:15 +02:00
|
|
|
// GetTranscoderLogFilePath returns the logging path for the transcoder log output.
|
2021-05-23 04:25:33 +02:00
|
|
|
func GetTranscoderLogFilePath() string {
|
|
|
|
return filepath.Join(config.LogDirectory, "transcoder.log")
|
|
|
|
}
|
|
|
|
|
|
|
|
func getLogFilePath() string {
|
|
|
|
return filepath.Join(config.LogDirectory, "owncast.log")
|
|
|
|
}
|