mirror of
https://github.com/owncast/owncast.git
synced 2024-10-10 19:16:02 +00:00
19 lines
413 B
Go
19 lines
413 B
Go
package logging
|
|
|
|
import (
|
|
"path/filepath"
|
|
|
|
"github.com/owncast/owncast/services/config"
|
|
)
|
|
|
|
// GetTranscoderLogFilePath returns the logging path for the transcoder log output.
|
|
func GetTranscoderLogFilePath() string {
|
|
c := config.GetConfig()
|
|
return filepath.Join(c.LogDirectory, "transcoder.log")
|
|
}
|
|
|
|
func getLogFilePath() string {
|
|
c := config.GetConfig()
|
|
return filepath.Join(c.LogDirectory, "owncast.log")
|
|
}
|