@@ -72,7 +72,12 @@ $msg = sprintf('Fetch personal data from service with parameter: %s', $param);
7272$this->auditLogger->info('Lookup', $msg);
7373```
7474
75- ### Queue
75+ ### Implementations
76+
77+ See [ implementations] ( /docs/IMPLEMENTATIONS.md ) for a list of modules that have
78+ audit logging integrated.
79+
80+ ## Queue
7681
7782The actual logging is handled by jobs in an [ Advanced
7883Queue] ( https://www.drupal.org/project/advancedqueue ) queue.
@@ -93,9 +98,22 @@ drush advancedqueue:queue:list
9398or go to ` /admin/config/system/queues/jobs/os2web_audit ` for a
9499graphical overview of jobs in the queue.
95100
96- ### Coding standards
101+ ### Purge successful jobs
102+
103+ It is possible to configure the queue to purge jobs based on
104+ the number of jobs or the number of days since processing.
105+
106+ Go to ` admin/config/system/queues/manage/os2web_audit ` to configure this.
107+
108+ Below is an example of purging successful jobs after 7 days.
109+
110+ ![ queue purge config] ( /docs/queue_purge_config.png )
111+
112+ Remember to export this to ensure it is not overridden upon config import.
113+
114+ ## Coding standards
97115
98- #### PHP files (PHP_CodeSniffer)
116+ ### PHP files (PHP_CodeSniffer)
99117
100118Check PHP coding standards
101119
@@ -111,15 +129,15 @@ docker run --interactive --rm --volume ${PWD}:/app itkdev/php8.3-fpm:latest comp
111129docker run --interactive --rm --volume ${PWD} :/app itkdev/php8.3-fpm:latest composer coding-standards-apply
112130```
113131
114- ### Code analysis
132+ ## Code analysis
115133
116134phpstan is used to perform static analysis of the code. Run the following script:
117135
118136``` sh
119137./scripts/code-analysis
120138```
121139
122- #### Markdown files
140+ ### Markdown files
123141
124142``` shell
125143docker run --interactive --rm --volume " $PWD :/md" itkdev/markdownlint markdownlint ' **/*.md' --fix
0 commit comments