> -----Original Message-----
> From: [email protected] [mailto:rsyslog-
> [email protected]] On Behalf Of Aaron Wiebe
> Sent: Donnerstag, 17. Juni 2010 14:26
> To: rsyslog-users
> Subject: Re: [rsyslog] feedback requested: NEW rsyslog.conf format
> 
> <action dynfile>
>       type omfile
> 
> Perhaps:
> <action name=dynfile type=omfile>
> 
> That would make something like this more readable:
> 
> <input name=inp10515 type=imtcp><params>listen 10515; ruleset
> remote10515</params></input>
>
> In other words, everything should be nameable, and everything defined in-
> scope should also be reference-able.

During our first discussion, we had this format approach as well. But we
stayed with the apache-like approach of having only one parameter in the
<input> and other blocks, and all general parameters below as name/value
pairs. So everything can have a name/id besides the type. To get further
verbose with the initial sample: 
<input>
        name inp10515
        type imtcp
        <params> #params holds module-specific config parameters
                listen 10514
                ruleset remote10514
        </params>
</input>


Best regards,
Andre Lorbach

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

Reply via email to