clog: fix logic

Change-Id: I7bdbe5ee69681ff57ee346b1379458c330fba602