This commit is contained in:
Darius 2024-05-09 23:11:41 +02:00
parent 43999ff914
commit 123dfecadc
2 changed files with 1 additions and 4 deletions

View File

@ -2,7 +2,6 @@ package log
import (
"os"
"path"
"time"
)

View File

@ -20,9 +20,7 @@ var wazuhData types.WazuhMessage
var BasePath string
func InitNotify() types.Params {
_, currentFile, _, _ := runtime.Caller(1)
BasePath = path.Dir(currentFile)
BasePath, _ := os.Executable()
log.OpenLogFile(BasePath)