test
This commit is contained in:
parent
43999ff914
commit
123dfecadc
@ -2,7 +2,6 @@ package log
|
||||
|
||||
import (
|
||||
"os"
|
||||
"path"
|
||||
"time"
|
||||
)
|
||||
|
||||
|
||||
@ -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)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user