Skip to content

Commit

Permalink
[warm boot] save log level DB contents (#369)
Browse files Browse the repository at this point in the history
So that after warm reboot, the log level will remain the same as before
warm boot.

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
  • Loading branch information
yxieca authored and lguohan committed Nov 8, 2018
1 parent 5e35ff2 commit c7ceafa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/fast-reboot
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ if [[ "$REBOOT_TYPE" = "warm-reboot" ]]; then
$DUMP_CMD -d 6 -k "[FW][DA][BR][_M][T_][AR][BE][LS][ET][|A]*" -o $WARM_DIR/state_db.json
# Save asicDB in /host/warm-reboot/asic_db.json
$DUMP_CMD -d 1 -o $WARM_DIR/asic_db.json
# Save loglevelDB in /host/warm-reboot/loglevel_db.json
$DUMP_CMD -d 3 -o $WARM_DIR/loglevel_db.json
fi

if [[ "$REBOOT_TYPE" = "warm-reboot" ]]; then
Expand Down

0 comments on commit c7ceafa

Please sign in to comment.