> Either way, it would be nice to see a freeze of both projects, followed by a
> merge of the two.

This seems reasonable. The two projects are both PHP+MySQL
applications that do essentially the same thing. I don't see many
reasons to keep them separate. They aren't totally different in their
usage / design like emacs & vi, gnome & kde, etc. To me, php-syslog-ng
seems like the stronger project (more users, it's been around longer,
more developers, etc), so I'd suggest moving the stuff that's worth
saving from php syslog viewer into php-syslog-ng and ditching php
syslog viewer.

>I am assuming that the base PHP code used for the
> linuxgeek project was from a much older version of the most current
> php-syslog-ng one?

I mostly started from scratch, but there were some things I kept, like
the database table structure.

> the new project looks rather cold and dark

I'm not very good at creating visually pleasing designs :-)

> support AD and LDAP user, which by the way is a *big* thing for me,

Adding active directory and LDAP support to php-syslog-ng wouldn't
take too much effort and I'd be happy to do it. I'd be happy to work
on adding other features to php-syslog-ng as well.

> it would also be nice to limit what machines a particuliar user is able to 
> see logs for

That's a good suggestion.

I like my application's AJAX-style live log viewer. To add that
feature to php-syslog-ng, php-syslog-ng would need some sort of XML
output. The XML output could be used by other applications, like the
java app Vadim mentioned. A few months ago I experimented with
something similar by creating a wxPython log viewer application that
communicated with my php app via XML-RPC. I never released it because
it was more of a 'learn python and wxPython' project than anything
else, but it ran on Windows and Linux without a lot of headaches.

One thing worth discussing is log rotation and the MySQL MERGE engine.
My application does log rotation (I think php-syslog-ng comes with a
script to do this). This is really important when you get 500,000+ log
messages a day because MySQL really slows down when you are adding a
lot of rows to a large MyISAM table. You can set it up to rotate the
'logs' table like you would setup file based log rotation. For
example, you could set it up to move the 'logs' table to
'logs-YYYY-MM-DD' and create an empty 'logs' table every day. That
improves search and INSERT time, but it only lets you search one table
at a time. If you want to search messages from the past 7 days, then
you'd have to do 7 searches. To solve this problem, I implemented the
search so that it creates a temporary MERGE table on the fly to
include just the right tables (so a search for messages from the past
7 days only includes the current logs table and the rotated logs
tables which contain messages from the past 7 days). I think this is a
cool feature, but one problem with MERGE tables is that they don't
support full-text indexes. Is this type of thing something that you'd
be interested in for php-syslog-ng?

I'd have to look for the code, but at one point I implemented a
feature I called 'host groups'. It would let you select multiple
hostnames at once on the search page with Javascript by choosing a
group from a drop down list. So if you had 10 systems of which 4 were
OpenBSD and 6 where Solaris, you could define a Solaris group and an
OpenBSD group. Then you could pick OpenBSD or Solaris from a drop down
list and the right hosts would be selected for your query. This may be
nice to have in php-syslog-ng.

Where is the 'official' and/or most current location of the
php-syslog-ng source code? I've seen a few different versions floating
around (php-syslog-ng, phpsyslogng, cdukes edition, cl edition, etc).
Once I find it I'll start on a patch for Active Directory and LDAP
support.

-Tom

P.S. I'll be joining the mailing list later tonight, so if you reply
tomorrow, you don't have to CC me anymore :)

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Php-syslog-ng-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/php-syslog-ng-support

Reply via email to