test
This commit is contained in:
parent
43999ff914
commit
123dfecadc
@ -2,7 +2,6 @@ package log
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"os"
|
"os"
|
||||||
"path"
|
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@ -20,9 +20,7 @@ var wazuhData types.WazuhMessage
|
|||||||
var BasePath string
|
var BasePath string
|
||||||
|
|
||||||
func InitNotify() types.Params {
|
func InitNotify() types.Params {
|
||||||
_, currentFile, _, _ := runtime.Caller(1)
|
BasePath, _ := os.Executable()
|
||||||
|
|
||||||
BasePath = path.Dir(currentFile)
|
|
||||||
|
|
||||||
log.OpenLogFile(BasePath)
|
log.OpenLogFile(BasePath)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user