Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
php log Viewer
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
wesw02
Apprentice
Apprentice


Joined: 10 Nov 2004
Posts: 213
Location: Dayton, Ohio, USA

PostPosted: Mon Aug 08, 2005 11:18 pm    Post subject: php log Viewer Reply with quote

Does anyone know of a php based log viewer that I can use to view my system logs? I'm looking for a simple script that will require a login (doesn't have to interface with a database, but would be nice) that would display my current system logs. Any ideas or should I write this my self.
Back to top
View user's profile Send private message
tgurr
Retired Dev
Retired Dev


Joined: 27 Jan 2004
Posts: 571
Location: germany

PostPosted: Tue Aug 09, 2005 12:15 am    Post subject: Reply with quote

There's php-syslog-ng with which you could use a simple htaccess file to secure the login. There's a gentoo wiki article which describes how to setup php-syslog-ng.
Back to top
View user's profile Send private message
wesw02
Apprentice
Apprentice


Joined: 10 Nov 2004
Posts: 213
Location: Dayton, Ohio, USA

PostPosted: Tue Aug 09, 2005 2:09 am    Post subject: Reply with quote

I'm using metalog, will it still work?
Back to top
View user's profile Send private message
John5788
Advocate
Advocate


Joined: 06 Apr 2004
Posts: 2140
Location: 127.0.0.1

PostPosted: Tue Aug 09, 2005 3:47 am    Post subject: Reply with quote

probably not because syslog and metalog are a bit different
_________________
John5788
Back to top
View user's profile Send private message
wesw02
Apprentice
Apprentice


Joined: 10 Nov 2004
Posts: 213
Location: Dayton, Ohio, USA

PostPosted: Wed Aug 10, 2005 1:21 am    Post subject: Reply with quote

thats what i figured but wasn't sure if there was a module for it, I guess i'll just write my own which isn't that bad, I was just looking for a way to save time
Back to top
View user's profile Send private message
think4urs11
Bodhisattva
Bodhisattva


Joined: 25 Jun 2003
Posts: 6659
Location: above the cloud

PostPosted: Wed Aug 10, 2005 6:50 am    Post subject: Reply with quote

It might work if you configure metalog to log into a mysql database.
php-syslog-ng reads from the database and builds the website from there.

With syslog-ng you configure this with a proper 'destination' statement - with metalog you could use 'command' to do the job. (untested though)
_________________
Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum