Find an ajax poll to load the local log file and load it to the page in real time to the example

I am django Framework

after the server operates some scripts, some logs will be output to text files, xxx.log and other contents in real time

so now we need to load these xxx.log contents into the web page through ajax

.

is how much the server writes to the xxx.log file, then the web page loads how much content into the

file in real time.

there is no need to refresh the page to the content

I do not know whether the search keywords are incorrect or other problems. I looked up some materials on the Internet and did not see an example, so I asked the master to throw an example for reference.

May.28,2021

publish log data through an api. It is unrealistic for you to call this log file directly through ajax

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e52881-451d4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e52881-451d4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?