diff options
author | Patrick Vacek <patrickvacek@gmail.com> | 2019-07-23 17:30:49 +0200 |
---|---|---|
committer | Laurent Bonnans <laurent.bonnans@here.com> | 2019-08-15 17:49:09 +0200 |
commit | 23f09fb77d5f1a1a3605d49d4c0c181cf7287368 (patch) | |
tree | 7fe09bff9a84d909d19c56c640cc766b540bdcba /README.adoc | |
parent | e733afe2022e700eb4318208d6a2fadd69e04d55 (diff) | |
download | meta-updater-23f09fb77d5f1a1a3605d49d4c0c181cf7287368.tar.gz |
README: add recommendations for logging.
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
(cherry-picked from commit f693e967b7c7fb97d07375b076e11dbf2ffd799a)
Diffstat (limited to 'README.adoc')
-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 | |====================== |