diff options
| -rw-r--r-- | README.adoc | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/README.adoc b/README.adoc index e91ea92..1a4d6bb 100644 --- a/README.adoc +++ b/README.adoc | |||
| @@ -199,7 +199,23 @@ RESOURCE_CPU_WEIGHT_pn-aktualizr = "50" | |||
| 199 | 199 | ||
| 200 | == Development configuration | 200 | == Development configuration |
| 201 | 201 | ||
| 202 | There are a few settings that can be controlled in `local.conf` to simplify the development process: | 202 | === Logging |
| 203 | |||
| 204 | To troubleshoot problems that you might encounter during development, we recommend that you enable persistent `systemd` logging. This setting is enabled by default for newly configured environments (see link:conf/local.conf.sample.append[]). To enable it manually, put this to your `local.conf`: | ||
| 205 | |||
| 206 | .... | ||
| 207 | IMAGE_INSTALL_append += " systemd-journald-persistent" | ||
| 208 | .... | ||
| 209 | |||
| 210 | It may also be helpful to run with debug logging enabled in aktualizr. To do so, add this to your `local.conf`: | ||
| 211 | |||
| 212 | .... | ||
| 213 | IMAGE_INSTALL_append += " aktualizr-log-debug" | ||
| 214 | .... | ||
| 215 | |||
| 216 | === Custom aktualizr versions | ||
| 217 | |||
| 218 | You can override the version of aktualizr included in your image. This requires that the version you wish to run is pushed to the https://github.com/advancedtelematic/aktualizr[aktualizr github repo]. You can then use these settings in your `local.conf` to simplify the development process: | ||
| 203 | 219 | ||
| 204 | [options="header"] | 220 | [options="header"] |
| 205 | |====================== | 221 | |====================== |
