<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, May 13, 2014 at 2:26 PM, Richard Megginson <span dir="ltr"><<a href="mailto:rmeggins@redhat.com" target="_blank">rmeggins@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="">----- Original Message -----<br>
> On Tue, May 13, 2014 at 1:28 PM, Richard Megginson<br>
> <<a href="mailto:rmeggins@redhat.com">rmeggins@redhat.com</a>>wrote:<br>
><br>
> > ----- Original Message -----<br>
> > > I am using FreeIPA 3.0.0 on RHEL 6 (ipa-server-3.0.0-37.el6.x86_64).<br>
> > ><br>
> > > Where do I change the verbosity of access logging?<br>
> ><br>
> ><br>
> > Why do you need to change the verbosity of access logging? Do you mean<br>
> > error logging? If so, see <a href="http://port389.org/wiki/FAQ#Troubleshooting" target="_blank">http://port389.org/wiki/FAQ#Troubleshooting</a><br>
> ><br>
><br>
> I do mean access logging. I want to change it because it's too verbose :-)<br>
> . It's causing high load / iowait on the server.<br>
<br>
</div>There isn't a way to change the access log level to make it less verbose.<br>
You can turn it off completely nsslapd-accesslog-enabled: off<br></blockquote><div><br></div><div>Sorry, you've confused me. Are you saying that "nsslapd-accesslog-level: 4" is just as verbose as "nsslapd-accesslog-level: 256"? Or that there is literally no way to change the level despite the fact that there are levels?<br>
<br></div><div>Cheers<br></div><div><br> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Note that the access log is buffered, specifically to reduce the I/O load. If that buffered load is _still_ too high, then you might want to investigate replacing the access log file with a named pipe, then writing a small bit of python code to filter out only the events you are interested in. See <a href="https://access.redhat.com/site/documentation/en-US/Red_Hat_Directory_Server/9.0/html/Administration_Guide/using-named-pipe.html" target="_blank">https://access.redhat.com/site/documentation/en-US/Red_Hat_Directory_Server/9.0/html/Administration_Guide/using-named-pipe.html</a><br>
<div class=""><br>
><br>
> Based on the link you sent if I crafted an ldif like:<br>
><br>
> dn: cn=config<br>
> changetype: modify<br>
> replace: nsslapd-accesslog-level<br>
> nsslapd-accesslog-level: 4<br>
><br>
> that would presumably get me what I want.<br>
<br>
</div>I don't think so. The error log levels are completely different than the access log levels, in that there are no access log levels.<br>
<div class=""><br>
><br>
> Does it require a dirsrv restart?<br>
<br>
</div>No, but . . .<br>
<div class=""><div class="h5"><br>
><br>
> Please advise.<br>
><br>
> Thanks!<br>
><br>
><br>
><br>
> ><br>
> > ><br>
> > > This doc:<br>
> > ><br>
> > ><br>
> > <a href="http://docs.fedoraproject.org/en-US/Fedora/18/html/FreeIPA_Guide/server-config.html" target="_blank">http://docs.fedoraproject.org/en-US/Fedora/18/html/FreeIPA_Guide/server-config.html</a><br>
> > ><br>
> > > discusses turning on global debugging but doesn't help me. The same doc<br>
> > links<br>
> > > to:<br>
> > ><br>
> > ><br>
> > <a href="https://access.redhat.com/site/documentation/en-US/Red_Hat_Directory_Server/8.2/html/Configuration_and_Command-Line_Tool_Reference/logs-reference.html" target="_blank">https://access.redhat.com/site/documentation/en-US/Red_Hat_Directory_Server/8.2/html/Configuration_and_Command-Line_Tool_Reference/logs-reference.html</a><br>
> > ><br>
> > > which tells me that I need to change the nsslapd-accesslog-level but the<br>
> > link<br>
> > > on that page is a 404.<br>
> > ><br>
> > > So what do I need to do to change the level? I would assume that setting<br>
> > the<br>
> > > level to 4 would be indicated if 256 is too verbose but can someone<br>
> > please<br>
> > > confirm?<br>
> > ><br>
> > > I tried looking in the Configuration tab of the admin GUI but I get<br>
> > thrown:<br>
> > ><br>
> > > IPA Error 4204<br>
> > ><br>
> > > limits exceeded for this query<br>
> > ><br>
> > > Not sure what's going on there, might be symptomatic of the high load the<br>
> > > server is under due to iowait perhaps...<br>
> > ><br>
> > > Thanks!<br>
> > ><br>
> > > _______________________________________________<br>
> > > Freeipa-users mailing list<br>
> > > <a href="mailto:Freeipa-users@redhat.com">Freeipa-users@redhat.com</a><br>
> > > <a href="https://www.redhat.com/mailman/listinfo/freeipa-users" target="_blank">https://www.redhat.com/mailman/listinfo/freeipa-users</a><br>
> ><br>
><br>
</div></div></blockquote></div><br></div></div>