On 09/12/2012 04:38 PM, Edmondas Girkantas wrote:
On 09/10/2012 02:54 AM, Timothée Guicherd wrote:

We have been using PowerAdmin + PowerDNS on our public DNS server for a
while now. We have a lot of zones, and there are several users who are
allowed to make changes. I would like to be able to log modifications
done through the web interface to a human-readable logfile.

Ideally, it would look like this:

10 Sep 2012 9h45: user johndoe added A record in blah.com zone
[test.blah.com ->  A ->  8.8.8.8]

I tried to look in the documentation and the code but I could not find
such an option. Do you guys have any idea how to achieve such a thing?
It would be very useful for us to be able to track the DNS changes (and
eventually be quicker to troubleshoot when a problem arises).

Hi,

Sorry for the delay, I'm really busy nowadays...

I remember that there was similar request some time ago, but I could not
find references to it, anyway I see few options here:

1. Use existing syslog functionality and log user activity
2. Implement activity logging to some external file
3. Store user activity in the database

I could not promise that such logging functionality will be implemented
very fast, but I have added it to our GitHub issue tracker:
https://github.com/poweradmin/poweradmin/issues/37

If you're going to go to the trouble of doing it (which sounds like a very good idea to me), syslog would probably be the most useful to the most people, but you could offer a choice of where to send the logs. I'm sure that there are users who desire each of those options, and perhaps even would log to more than one of them at the same time, if given that choice.

In any event, syslog style formatting of file based logs probably benefits people the most because they're already used to dealing with that format, and it's human-readable.

    Sep 12 06:30:38 hostname poweradmin: blah blah blah

- Ron

_______________________________________________
poweradmin-users mailing list
[email protected]
http://lists.poweradmin.org/cgi-bin/mailman/listinfo/poweradmin-users

Reply via email to