summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Vacek <patrickvacek@gmail.com>2019-07-23 17:30:49 +0200
committerLaurent Bonnans <laurent.bonnans@here.com>2019-08-15 17:48:40 +0200
commitb446fa5a41dccb743ced09d6e62871757b245114 (patch)
tree87cdddbf90a40ecdb411a870ea6e3b1a18df983e
parent60faee946d234db0a015f4f7be159a90052c0e48 (diff)
downloadmeta-updater-b446fa5a41dccb743ced09d6e62871757b245114.tar.gz
README: add recommendations for logging.
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com> (cherry-picked from commit f693e967b7c7fb97d07375b076e11dbf2ffd799a)
-rw-r--r--README.adoc18
1 files changed, 17 insertions, 1 deletions
diff --git a/README.adoc b/README.adoc
index aa182b2..9c125bf 100644
--- a/README.adoc
+++ b/README.adoc
@@ -193,7 +193,23 @@ RESOURCE_CPU_WEIGHT_pn-aktualizr = "50"
193 193
194== Development configuration 194== Development configuration
195 195
196There are a few settings that can be controlled in `local.conf` to simplify the development process: 196=== Logging
197
198To 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`:
199
200....
201IMAGE_INSTALL_append += " systemd-journald-persistent"
202....
203
204It may also be helpful to run with debug logging enabled in aktualizr. To do so, add this to your `local.conf`:
205
206....
207IMAGE_INSTALL_append += " aktualizr-log-debug"
208....
209
210=== Custom aktualizr versions
211
212You 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:
197 213
198[options="header"] 214[options="header"]
199|====================== 215|======================