default linelog Accounting-Request handling broken?

Josip Rodin joy at entuzijast.net
Sun Dec 6 20:55:03 CET 2009


On Sun, Dec 06, 2009 at 08:34:41PM +0100, Alan DeKok wrote:
> Josip Rodin wrote:
> > People should want to know as soon as possible if their configuration is
> > has syntax errors - it's likely that the same issue can have bad effects
> > on the functionality they want.
> 
>   I agree.  They should "test" their configuration before putting it
> live into a production environment.  Testing should involve running it
> in debugging mode.
> 
> > Thinking about it, people on high-traffic sites might get bothered with
> > extra logs and extra disk space usage. But, those are the same kind of
> > people who will not use debug mode because of its disk space issues.
> 
>   It doesn't take any disk space to run it in debugging mode for tests.
> 
>   For everyone else, getting 1000 log messages/s because of a
> configuration typo is a *bad* thing.

There are some critical conditionals in the above. Ultimately the question
is whether you can really expect most users to be perfect citizens who
follow all the recommendations and don't ever make errors in production
environments, or if you don't expect much of them and assume that they
are best served by getting clear error messages whenever and however they
manage to screw things up.

People whose servers do 1k operations/s are the ones who can be assumed to
be already prepared for the situation where the log volume increases by a
magnitude, for whatever reason.

-- 
     2. That which causes joy or happiness.



More information about the Freeradius-Users mailing list