logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Third-party Modules View previous topic :: View next topic
Reply to topic   Topic: mod_view problem
Author
timo



Joined: 03 Jun 2012
Posts: 45
Location: FI, EU

PostPosted: Fri 11 Apr '14 21:57    Post subject: mod_view problem Reply with quote

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

PostPosted: Sat 12 Apr '14 20:09    Post subject: Reply with quote

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

PostPosted: Sat 12 Apr '14 20:33    Post subject: Reply with quote

Ok, I'll probably replace mod_view with a PHP-script.
Back to top


Reply to topic   Topic: mod_view problem View previous topic :: View next topic
Post new topic   Forum Index -> Third-party Modules