Howard Chu wrote:
Ski Kacoroski wrote:
Howard Chu wrote:
matthew sporleder wrote:
On 6/13/06, Ski Kacoroski <ckacoroski@nsd.org> wrote:
Or you could look into the access log overlay. :)
That may be a good solution. Define two separate log databases, and
separate the machine and user data into two databases, using
subordinates to glue them together. Use an accesslog overlay on
each main database, logging to separate log databases.
Of course, the info in the accesslog may not be detailed enough for
debugging purposes. You'll have to review the log schema and decide
for yourself if it's adequate for your needs.
Matthew & Howard,
Ok, I have this working nicely with the following:
# Main logging database
database hdb
suffix "cn=nsdlog"
...
# Hosts logging database
database hdb
suffix "cn=nsdhostslog"
...
# Hosts database
database hdb
suffix "ou=Hosts,dc=nsd,dc=org"
...
overlay accesslog
logdb "cn=nsdhostslog"
logops all
# Main database
database hdb
suffix "dc=nsd,dc=org"
...
overlay accesslog
logdb "cn=nsdlog"
logops all
Tricks to getting it working were:
1. Comment out the accesslog overlay configuration until you create
the base object in the log databases or else slapd crashes