From 8105d27b80f2fb60166b5c3362c4c11ce92926b2 Mon Sep 17 00:00:00 2001 From: Ying Xie Date: Wed, 7 Nov 2018 02:56:48 +0000 Subject: [PATCH] [warm boot] restore log level DB during warm reboot Signed-off-by: Ying Xie --- files/build_templates/docker_image_ctl.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/files/build_templates/docker_image_ctl.j2 b/files/build_templates/docker_image_ctl.j2 index 405b6f6e894a..dce84f3aef67 100644 --- a/files/build_templates/docker_image_ctl.j2 +++ b/files/build_templates/docker_image_ctl.j2 @@ -48,6 +48,8 @@ function postStartAction() redisLoadAndDelete 6 $WARM_DIR/state_db.json # Load asicDB from /host/warm-reboot/asic_db.json redisLoadAndDelete 1 $WARM_DIR/asic_db.json + # Load loglevelDB from /host/warm-reboot/loglevel_db.json + redisLoadAndDelete 3 $WARM_DIR/loglevel_db.json fi {%- elif docker_container_name == "swss" %} docker exec swss rm -f /ready # remove cruft