mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Remove forced file logging from cgr-engine helper
This commit is contained in:
committed by
Dan Christian Bogos
parent
68b84d2ad3
commit
fb9e69e812
@@ -344,10 +344,7 @@ func StartEngine(cfgPath string, waitEngine int) (*exec.Cmd, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
f, _ := os.Create("/tmp/LOGS")
|
||||
engine := exec.Command(enginePath, "-config_path", cfgPath, "-logger=*stdout")
|
||||
engine.Stderr = f
|
||||
engine.Stdout = f
|
||||
engine := exec.Command(enginePath, "-config_path", cfgPath)
|
||||
if err := engine.Start(); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user