Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: mod_view problem |
|
Author |
|
timo
Joined: 03 Jun 2012 Posts: 45 Location: FI, EU
|
Posted: Fri 11 Apr '14 21:57 Post subject: mod_view problem |
|
|
I tried to view apache logs with mod_view.
Code: | https://xxxxxxxxx/log/ssl-error.log?tail=40&refresh=10 |
I noticed that if there are less or equal number of lines in the log than is requested by tail-value, it shows no lines at all.
In my case ssl-error log had 10 lines.
I made a test with several values of tail.
If value of tail is less than 10, it shows the requested number of lines from the end of the file.
If the value of tail is 10 or more, it shows nothing.
This does not apply to viewing first lines with "head", it works as expected.
Apache 2.4.9 VC11 Win32
mod_view 2.2 for Apache 2.4.x Win32 VC11
Windows 7 32bit |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Sat 12 Apr '14 20:09 Post subject: |
|
|
Same here, it is a flaw. Sadly the Author (snert.com) is not supporting it anymore. |
|
Back to top |
|
timo
Joined: 03 Jun 2012 Posts: 45 Location: FI, EU
|
Posted: Sat 12 Apr '14 20:33 Post subject: |
|
|
Ok, I'll probably replace mod_view with a PHP-script. |
|
Back to top |
|
|
|
|
|
|