Hello, everyone, I am for the majority of programmers brothers worry broken heart xiaobian, every day to recommend a small tool/source, full of your favorites, every day to share a small skill, let you easily save development efficiency, do not work overtime do not stay up late do not lose hair, is my goal!

When the platform goes online, sometimes something goes wrong and you have to log in to the server frequently to check the logs, and then execute a bunch of commands before you can see the logs. Is this a painful process for everyone? Anyway, xiaobian has suffered this kind of suffering. So today xiaobian recommended a simple local log real-time view of the tool, all the above problems solved.

Open source licenses

Use the Apache-2.0 open source license

The link address

[tai] get git address

The principle of

Websocket + FileAlterationListenerAdaptor

Local debugging

Local debugging if you need to listen to multiple directories, you can use the following configuration: separated

packaging

Rely on Spring-Boot to package plug-ins into executable JARS

The JAR package starts on the server

Supports listening on multiple directories

Linux background run: Nohup java-jar tailf-web-1.0-xxx.jar "/usr/logs/tomcat1" "/usr/logs/tomcat2" & Windows window start java-jar Tailf - web - 1.0 - XXX. Jar "/ usr/logs/tomcat1" "/ usr/logs/tomcat2"Copy the code

Demo screenshot

Extjs style

Visit http://localhost:10086/

Ordinary style

Visit http://localhost:10086/s

At the end

This issue is to share here, I am xiaobian South wind blowing, focus on sharing interesting, novel, practical open source projects and developer tools, learning resources! I hope to learn and communicate with you together. Welcome to follow my official account ** [Github navigation station] **.