ukhas / js-logtail Goto Github PK
View Code? Open in Web Editor NEWRemote log tailing using the HTTP Range header.
Remote log tailing using the HTTP Range header.
I really like this tool very much. But the I have one application which places the log-fiel in some other place at I thought to create a symlink to that location and logtail would present it like it would be in the tomcat subfolder.
I obviously make something wrong or the script does not follow symlinks. If I copy the file "data/logdaily.log" there it works fine. As well it seems it is not possible to put there some other absolute path to a file soemwhere else on the same server.
Hello,
I am opening the log-tail page in modal window using bootstrap.
Problem is that even if the modal window is closed and even if I used to remove data from closed modal by following script which works for all my modal windows opened by link the script to seems stay active and still invoking ajax to the log file:
<script type="text/javascript">
$('.modal').on('hidden.bs.modal', function () {
$(this).removeData('bs.modal');
});
</script>
Please advise solution.
Thanks, Reddy
Hello,
when using full path to the log file I am getting error 404:
Object Not Found (apps/data/logs/support/glDBHousekeeper.log)I have tried
var url = "/apps/data/logs/support/glDBHousekeeper.log";
var url = "//apps/data/logs/support/glDBHousekeeper.log";
var url = "\/apps/data/logs/support/glDBHousekeeper.log";
with almost same result. Is it bug or problem between my keyboard and chair?
Thanks, Reddy
Without pause, trying to copy parts from specific lines can be annoying as they keep being pushed down (and also thus de-highlighted) by updates.
Is it possible to view more than 1 Log?
https://github.com/ukhas/js-logtail/blob/master/logtail.html#L13 should perhaps be ?
and ?noreverse
.
Many thanks for creating this usefull logviewer!
Please consider adding a input box at the top of the page allowing you to filter the log on a specific keyword
Hello,
When trying a dead simple example, the initial load of the file works as expected (and display the content), but the 1st refresh gives the following error:
An error occured :-(.
Reloading may help; no promises.
uncaught exception: Unknown AJAX Error (status 0)
Any idea why ?
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.