Open iesl2 opened 5 years ago
Hello,
I tried to start tailon specifying a file to which tailon user doesn't have access:
./opt/tailon/tailon -b "0.0.0.0:8084" -r "/" "alias=Catalina,group=Tomcat,/opt/tomcat/logs/catalina.out" "alias=Other,group=Tomcat,/opt/tomcat/logs/*"
And got the error:
panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x7bcc58] goroutine 1 [running]: main.parseFileSpec(0x7ffd5095662c, 0x39, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/gv/go/src/github.com/gvalkov/tailon/main.go:173 +0x428 main.main() /home/gv/go/src/github.com/gvalkov/tailon/main.go:284 +0x562
Probably it may be usefully to see some information about file permission issue in the tailon output.
Thank you!
Hello,
I tried to start tailon specifying a file to which tailon user doesn't have access:
And got the error:
Probably it may be usefully to see some information about file permission issue in the tailon output.
Thank you!