Old 11-22-2011, 08:47 AM   #1 (permalink)
Untangle Ninja
 
sky-knight's Avatar
 
Join Date: Apr 2008
Location: Phoenix, AZ
URLs submitted: 8
Posts: 15,457
sky-knight is on a distinguished road
Default PHP Log Tail Viewer

http://code.google.com/p/php-tail/

Rather than telling people to dig into system log files it seems to me that it would make more sense to have a log viewer built into UT's UI. I found this bit of code that works well enough. However, it cannot read the log files because of permissions issues.

I don't like the idea of putting the web server in the adm group to fix this issue. So I'm thinking a cronjob to copy the important logs every 5min or so into a directory the web service has access to.
__________________
Rob Sandling, BS:SWE, MCP
Intouch Technology
Phone: 480-272-9889
rob@intouchtechllc.com

UntangleAppliances.com
Phone: 866-794-8879
sky-knight is offline  
Old 12-04-2011, 07:18 AM   #2 (permalink)
Master Untangler
 
wharfratjoe's Avatar
 
Join Date: Dec 2008
Location: Southern California
URLs submitted: 1
Posts: 373
wharfratjoe is on a distinguished road
Default

Thanks Rob!

Sent from my ADR6350 using Tapatalk
wharfratjoe is offline  
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 07:36 AM.


© 2010 Untangle, Inc. All Rights Reserved.   SEO by vBSEO 3.6.0 PL2