summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Vacek <patrickvacek@gmail.com>2019-07-23 17:30:49 +0200
committerPatrick Vacek <patrickvacek@gmail.com>2019-07-24 16:52:58 +0200
commitf693e967b7c7fb97d07375b076e11dbf2ffd799a (patch)
treec90ffc53bd97bebbdb694eabab570a29e6bcaf81
parent5593f8500385fdd8532828b539ed5e2dc75bad2c (diff)
downloadmeta-updater-doc/OTA-2578/logging.tar.gz
README: add recommendations for logging.doc/OTA-2578/logging
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
-rw-r--r--README.adoc18
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
202There are a few settings that can be controlled in `local.conf` to simplify the development process: 202=== Logging
203
204To 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....
207IMAGE_INSTALL_append += " systemd-journald-persistent"
208....
209
210It may also be helpful to run with debug logging enabled in aktualizr. To do so, add this to your `local.conf`:
211
212....
213IMAGE_INSTALL_append += " aktualizr-log-debug"
214....
215
216=== Custom aktualizr versions
217
218You 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|======================