On Wed, Oct 21, 2009 at 1:38 AM, Rainer Gerhards
<[email protected]>wrote:

> See my other note, but there may be a subtle misunderstanding: The presence
> of "-" turns OFF file syncing. Absence of "-" causes a sync! So in
>
> *.* /path/to/fileWithSync
> *.* -/path/to/fileWithoutSync
>
> fileWithSync is being synced and fileWithoutSync is not!
>
> This is traditional config file syntax and probably the main reason why *a
> lot* of real-world config files do syncs...
>
>
I understood correctly and now I'm certain I know how it should work. I need
to do some more testing and I think I have enough information to do that and
will come back here when I have something interesting to share. An
observation I did make when this was happening was that if
$ActionFileEnableSync was disabled (commented out) but the "-" was missing
before the actions in the configuration, write volume to the NAS was higher
than when we had $ActionFileEnableSync disabled and had the "-" added before
the action (write volume was 100% higher if $ActionFileEnableSync was OFF
and the "-" option was missing from all log actions than if
$ActionFileEnableSync was OFF and "-" was included in all log actions.)

This led to my original suspicion that the two options somehow change sync
behavior independently. If they shouldn't, then I need to get the debug log
and do some analysis.

I appreciate the guidance - I'll gather some more details.

Thanks,
Aaron
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to