Is there a way to set ShortMessageLength other than in the extension definition?

View thread

clintmaples

So normally I'd define ShortMessageLength during the extension definition part of my configuration file like so:

<Extension gelf>
  Module xm_gelf
  ShortMessageLength -1
</Extension>

Unfortunately, there are other issues preventing me from doing that. Is there a way to define ShortMessageLength in the input or output areas instead? When I try to like so:

<Input win_dns_logs_in>
    Module im_file
    File 'C:\\dns.txt'
    ShortMessageLength -1
    InputType LineBased
</Input>

 

I get the following error: "invalid keyword: ShortMessageLength"

Thanks,