mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
add log go version
This commit is contained in:
@@ -7,6 +7,7 @@ import (
|
|||||||
"net"
|
"net"
|
||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
"runtime"
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
@@ -54,10 +55,11 @@ func main() {
|
|||||||
settings.HttpAuth = params.HttpAuth
|
settings.HttpAuth = params.HttpAuth
|
||||||
log.Init(params.LogPath, params.WebLogPath)
|
log.Init(params.LogPath, params.WebLogPath)
|
||||||
fmt.Println("=========== START ===========")
|
fmt.Println("=========== START ===========")
|
||||||
|
fmt.Println("Go Ver:", runtime.Version())
|
||||||
if params.HttpAuth {
|
if params.HttpAuth {
|
||||||
log.TLogln("Use HTTP Auth file", settings.Path, "/ accs.db")
|
log.TLogln("Use HTTP Auth file", settings.Path+"/accs.db")
|
||||||
}
|
}
|
||||||
|
|
||||||
dnsResolve()
|
dnsResolve()
|
||||||
Preconfig(params.DontKill)
|
Preconfig(params.DontKill)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user