updated showLog