strip log
This commit is contained in:
parent
c1ad6d6c7c
commit
f2dd091ec0
@ -204,7 +204,6 @@ func (r *runtime) Create(s *Service, opts ...CreateOption) error {
|
|||||||
service := newService(s, options)
|
service := newService(s, options)
|
||||||
|
|
||||||
f, err := os.OpenFile(logFile(service.Name), os.O_APPEND|os.O_CREATE|os.O_WRONLY, 0644)
|
f, err := os.OpenFile(logFile(service.Name), os.O_APPEND|os.O_CREATE|os.O_WRONLY, 0644)
|
||||||
logger.Info(f, err)
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user