Prefix logs dir micro/logs for runtime
This commit is contained in:
parent
0f2006ac50
commit
ac8b6f944e
@ -178,7 +178,7 @@ func (r *runtime) run(events <-chan Event) {
|
|||||||
|
|
||||||
func logFile(serviceName string) string {
|
func logFile(serviceName string) string {
|
||||||
name := strings.Replace(serviceName, "/", "-", -1)
|
name := strings.Replace(serviceName, "/", "-", -1)
|
||||||
return filepath.Join(os.TempDir(), fmt.Sprintf("%v.log", name))
|
return filepath.Join(os.TempDir(), "micro", "logs", fmt.Sprintf("%v.log", name))
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create creates a new service which is then started by runtime
|
// Create creates a new service which is then started by runtime
|
||||||
|
Loading…
Reference in New Issue
Block a user