Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] handle multiple CustomLog directives #386

Open
boileaum opened this issue Mar 1, 2023 · 0 comments
Open

[FEATURE] handle multiple CustomLog directives #386

boileaum opened this issue Mar 1, 2023 · 0 comments

Comments

@boileaum
Copy link

boileaum commented Mar 1, 2023

Is your feature request related to a problem?

Handle multiple CustomLog directives in the same config file (see https://httpd.apache.org/docs/2.4/fr/mod/mod_log_config.html#customlog).

Describe the solution you'd like

The following apache config example:

CustomLog /var/log/apache2/access.log combined
CustomLog "|/usr/bin/logger -t apache -p local6.info" combined

could be translated into the pillar file as:

apache:
  sites:
    default:
      CustomLog:
         - /var/log/apache2/access.log combined
         - "|/usr/bin/logger -t apache -p local6.info" combined

Describe alternatives you've considered

A personal hack independent of this formula.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant