specify log location on commit

Luka dhcp at ml.evriala.net
Mon Sep 22 11:49:03 UTC 2008


You should really try syslog-ng. It can separate logs by matching a 
regular expression in message string.

Regards, Luka

Randall C Grimshaw wrote:
> The other log location thread reminded me that:
> 
> I wanted to ask if there was any way to redirect the log entries created
> by the log() function to a different destination than the other entries.
> Even if I could log it at a different level than 'info' might be
> sufficient, but when I try other values it fails silently (very picky
> about spaces too).
> 
> For example I want the commits to be in their own file.
> log-facility local3;
> on commit {
>   log(info, "sring...")
> 
> Thank you.
> 
> Randy
> 
> 
> 
> 


More information about the dhcp-users mailing list