Coding Standards

When contributing code to Rsyslog, you must follow its coding standards. To make a long story short, here is the golden rule: Imitate the existing Rsyslog code. Most open-source modules and libraries recommended by Rsyslog also follow the same guidelines, and you should too.

Remember that the main advantage of standards is that every piece of code looks and feels familiar, it’s not about this or that being more readable.

See also

If you would like to contribute to these docs, but are unsure where to start, please see the rsyslog-doc project README for an overview of the process. If you would like to contribute to the main source project, please review the contribution guidelines listed in the rsyslog project README.

If you have a question about these docs or Rsyslog in general, please see the following resources: