Closed hausheer closed 6 years ago
If the log file logs/bwtester.log doesn't exist, the bwtester fails:
logs/bwtester.log
go run bwtestserver.go -s 3-1034,[127.0.0.1]:30100 panic: open logs/bwtester.log: no such file or directory
go run bwtestserver.go -s 3-1034,[127.0.0.1]:30100
panic: open logs/bwtester.log: no such file or directory
It would be nice to specify the log path in a config file.
Good point Addressed in #24 Directly using scionproto liblog would be the other option
Thanks that works for me.
If the log file
logs/bwtester.log
doesn't exist, the bwtester fails:go run bwtestserver.go -s 3-1034,[127.0.0.1]:30100
panic: open logs/bwtester.log: no such file or directory
It would be nice to specify the log path in a config file.