use local app.log for logs
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
d03bc79725
commit
66e418d3a3
2
main.go
2
main.go
|
@ -16,7 +16,7 @@ const interval = 5
|
|||
var threadDone = make(chan struct{})
|
||||
|
||||
func main() {
|
||||
clientLogFile, err := os.OpenFile("/tmp/x.log", os.O_WRONLY|os.O_CREATE|os.O_APPEND, 0644)
|
||||
clientLogFile, err := os.OpenFile("./app.log", os.O_WRONLY|os.O_CREATE|os.O_APPEND, 0644)
|
||||
if err != nil {
|
||||
log.Panicln(err)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue