Skip to content

Commit b82e6a6

Browse files
committed
OXDEV-9556 Add information about customizable paramaters
1 parent 33add51 commit b82e6a6

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,20 @@ composer require oxid-esales/examples-module
132132

133133
and [activate the module](https://docs.oxid-esales.com/developer/en/latest/development/modules_components_themes/module/installation_setup/setup.html#setup-activation).
134134

135+
## Customizable parameters
136+
137+
There is a parameter in the `services.yaml` that can be customized for the module:
138+
* `app.log_file_path` - Path to the log file where example log message will be stored.
139+
140+
To modify the parameters, create the `configurable_services.yaml` file in the `var/configuration` folder as
141+
described in the [Documentation](https://docs.oxid-esales.com/developer/en/latest/development/tell_me_about/service_container.html#replacing-oxid-eshop-services-in-a-project),
142+
and overwrite the parameters you want to change. Ex.:
143+
144+
```yaml
145+
parameters:
146+
app.log_file_path: '/my/custom/filepath/to.log'
147+
```
148+
135149
## Development installation
136150
137151
To be able running the tests and other preconfigured quality tools, please install the module as a [root package](https://getcomposer.org/doc/04-schema.md#root-package).

0 commit comments

Comments
 (0)