[PATCH v4 2/2] log: Convert log values to printf() if not enabled