roidrage/lograge — pull request #21 by meineerde (2012-11-15 12:30:03+00:00)
Title: Allow to define the log level

Sometimes, especially with legacy apps, people log stuff on info that can't easily be turned of.

A simple solution is to just kick the log level a bit (e.g. to error) to make sure those stray infos get cut off. With lograge being able to emit its logs as error (or whatever loglevel necessary) it is easily possible to dry up the logfiles.

Another possible alternative would be to be able to define a custom logger for lograge and generate those logs into a new file (or wherever desired) and just keep the default logs as is (or well, redirect them to `/dev/null`). This would remove the need for core patches to silence default loggers at all, as we would just not care about the default logs anymore.

What do you think?