hpcloud / tail

Go package for reading from continously updated files (tail -f)
MIT License
2.7k stars 502 forks source link

Tail divided/multiple logfiles #190

Closed fthrslntgy closed 1 year ago

fthrslntgy commented 1 year ago

Hi. I want to tail DHCP server logfiles in Windows Server. But logfiles divided to days (like DhcpSrvLog-Mon.log, DhcpSrvLog-Tue.log etc.)

When i call tail.TailFile() function with file path parameter as "C:/Windows/System32/dhcp/DhcpSrvLog-*.log" it doesnt works.

Is there a way to watch multiple files?