commit
3c6553f37e
2
.env
2
.env
@ -1,2 +0,0 @@
|
||||
DISCORD_URL=https://discord.com/api/webhooks/1235943329854783530/lgAd6On2gtLPCAZ0HABXCJvVFut7zTL0eGwYs7akkSQ7LEZA2hGtqKYag5vXMdBXJv6L
|
||||
NTFY_URL=https://ntfy.sh/__KleinTest
|
||||
@ -9,7 +9,7 @@ import (
|
||||
var logFile *os.File
|
||||
|
||||
func OpenLogFile(BasePath string) {
|
||||
logFile, _ = os.OpenFile(path.Join(BasePath, "../../logs/active-responses.log"), os.O_APPEND|os.O_WRONLY|os.O_CREATE, 0600)
|
||||
logFile, _ = os.OpenFile(path.Join(BasePath, "../../logs/active-responses.log"), os.O_APPEND|os.O_WRONLY|os.O_CREATE, 0777)
|
||||
_, err := logFile.WriteString(
|
||||
"\n#######################################\n## START ##" +
|
||||
"\n" + time.Now().String() +
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user