https://bugs.openldap.org/show_bug.cgi?id=9726
--- Comment #20 from Howard Chu hyc@openldap.org --- (In reply to Shawn McKinney from comment #19)
(In reply to Shawn McKinney from comment #18)
How are they different? I'm not talking about how they were implemented, obviously. We're discussing their behavior, i.e. does one replace the other from the user's perspective.
I left out that with -d all output can be redirected to the foreground, which can't be done using loglevel.
So yes, that difference remains.
If the logfile_only directive is not used, there is no difference to previous behavior.
loglevel controls output to syslog. debug level controls output to stderr. That is how it has always worked, and how it continues to work.
If you define a logfile and set logfile_only, then there's effectively no difference, and all output goes only to the logfile, and nowhere else.
Is it really so hard to understand that "logfile_only" means to only send output to the logfile?