Skip to content

Commit

Permalink
add date by default in log file format
Browse files Browse the repository at this point in the history
  • Loading branch information
David Coutadeur committed Dec 11, 2024
1 parent 52b9841 commit d4ea012
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ ldaptoolbox_openldap_olcTLSProtocolMin: 3.3
ldaptoolbox_openldap_olcLogLevel: stats
ldaptoolbox_openldap_olcLogFile: "/var/log/slapd-ltb/slapd.log"
ldaptoolbox_openldap_olcLogFileRotate: "30 1024 24"
ldaptoolbox_openldap_olcLogFileFormat: "syslog-localtime"

# Size limit
ldaptoolbox_openldap_olcSizeLimit: 1000
Expand Down
1 change: 1 addition & 0 deletions playbook/multimaster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
- ldaptoolbox_openldap_olcLogLevel: stats
- ldaptoolbox_openldap_olcLogFile: "/var/log/slapd-ltb/slapd.log"
- ldaptoolbox_openldap_olcLogFileRotate: "30 1024 24"
- ldaptoolbox_openldap_olcLogFileFormat: "syslog-localtime"
# Size limit
- ldaptoolbox_openldap_olcSizeLimit: 1000
# Enabled modules
Expand Down
1 change: 1 addition & 0 deletions templates/var/backups/openldap/config.ldif
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ olcLocalSSF: 71
olcLogFile: {{ ldaptoolbox_openldap_olcLogFile }}
olcLogFileOnly: TRUE
olcLogFileRotate: {{ ldaptoolbox_openldap_olcLogFileRotate }}
olcLogFileFormat: {{ ldaptoolbox_openldap_olcLogFileFormat }}
{% endif %}
olcLogLevel: {{ ldaptoolbox_openldap_olcLogLevel }}
olcMaxFilterDepth: 1000
Expand Down

0 comments on commit d4ea012

Please sign in to comment.