rsyslog code style

Note: code style is still under construction. This guide lists some basic style requirements.

Code that does not match the code style guide will not pass CI testing.

The following is required right now:

  • we use ANSI C99

  • indentation is done with tabs, not spaces

  • trailing whitespace in lines is not permitted

  • lines longer than 120 characters are not permitted; everything over 120 chars is rejected and must be reformatted.

See also

Help with configuring/using Rsyslog:

  • Mailing list - best route for general questions

  • GitHub: rsyslog source project - detailed questions, reporting issues that are believed to be bugs with Rsyslog

  • Stack Exchange (View, Ask) - experimental support from rsyslog community

See also

Contributing to Rsyslog:

Copyright 2008-2020 Rainer Gerhards (Großrinderfeld), and Others.

Scroll to top