From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2a00:1450:4864:20::42f; helo=mail-wr1-x42f.google.com; envelope-from=ckimchan17@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="tijUN/OH"; dkim-atps=neutral Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 47N4kh3qmNzDqlB for ; Wed, 27 Nov 2019 13:40:25 +1100 (AEDT) Received: by mail-wr1-x42f.google.com with SMTP id z3so24839163wru.3 for ; Tue, 26 Nov 2019 18:40:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=s7EEkCpIowz8OgoAIkypnuCGbrcTw1JDfFyPZUw7GwE=; b=tijUN/OHn4r3bG3sK4fYxDZ4ceS8TimDiy8GBtxblwf78X822upsEmuYb3G23rddCv x33dFE+NIL97VEqSr9ifwytYXKLaW/cawzUt69WUynJnemeYvhUjqUUZ0MorKOI2xX55 ZmSiAr4nm26NX03vWwiSVT2Au50t6pgFN0CK6TBkz9tqSKCMBcJrTarNpXGVTCDMwVnW Fir//+4erm9stXc6TzRks7h4w0Ook6woBj3+3UtK5PiHBKX5XIfMXYw3eR06lM/f8lHn a9NPOWvBteNSrZZ3nDVKcT1gJqCR2wqJB+/mV72/SXtekWeMwiH1aA8HIaYdSayomqSQ FXhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=s7EEkCpIowz8OgoAIkypnuCGbrcTw1JDfFyPZUw7GwE=; b=AP+XJvb0sYo1Og9WWWJAr0f4e/tCUZ5QPTxo4ZuVKYge4Yn47fmMkzFs8yRBb/0Rr5 5l/d9CixMtgLmv2Mq8hvWczDGEKatgm2LtJ+B5V0KXas5rhiOS+ZZJcMrsFm9+UnZoG4 wLSPEJXZWRvIMHWkZT3vFm0uteDzCDONwNpneTkXVNeqCIxSjwGLZHsxcqwXZmz9ucbR Yd+maqdFJgKft10oDQVYYdDPV+7G1E6OgrxfB1y69tZ8mOiXLvO3dPmd8FOYtd1FkyJL 7X3vQguRBoKcZynIVB1uwfungBx2d9KsMM/RduC08sehYnP7tKkg/frq+XaNcc3aROpX Y5xA== X-Gm-Message-State: APjAAAVj8YD7Gg9Yx1e/3/U5utC64YK90TTydWRUReYOCW4k2du4zuCU 744e7EYwnodusF2k5tc+t/oK39w+jwd5Ql4OPyJRcRj7 X-Google-Smtp-Source: APXvYqyMJB/aE7XPJWDrpMxX8oDwsePQJS5M/N+dYNBqq0WbeGIplcYL3ADPmo4VoKqkVmN7sja/KP4mqV52IfPMJII= X-Received: by 2002:adf:9f43:: with SMTP id f3mr40343215wrg.76.1574822420230; Tue, 26 Nov 2019 18:40:20 -0800 (PST) MIME-Version: 1.0 From: Jeff Chan Date: Wed, 27 Nov 2019 10:40:09 +0800 Message-ID: Subject: phosphor logging To: openbmc@lists.ozlabs.org Content-Type: multipart/alternative; boundary="000000000000f1370605984aeac1" X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Nov 2019 02:40:29 -0000 --000000000000f1370605984aeac1 Content-Type: text/plain; charset="UTF-8" Dear openbmc developer, I'm debugging chassis power on issue, and found that I can't use journalctl to display debug information, for example: in chassis_state_manager.cpp Chassis::Transition Chassis::requestedPowerTransition(Transition value) { log("Change to Chassis Requested Power State", entry("CHASSIS_REQUESTED_POWER_STATE=%s", convertForMessage(value).c_str())); executeTransition(value); return server::Chassis::requestedPowerTransition(value); } but journalctl only display "Change to Chassis Requested Power State", the "CHASSIS_REQUESTED_POWER_STATE=%s" part is missed, can someone tell me how to get it back? I tried google but can't find the answer. And that will be great if someone can guide me how to port and debug power control, I tried "obmutil chassison" in debug console but doesn't work. I can't find detailed document about porting. Thank you! Jeff --000000000000f1370605984aeac1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Dear openbmc developer,

I= 9;m debugging chassis power on issue, and found that I can't use journa= lctl to display debug information, for example:

in= chassis_state_manager.cpp
Chassis::= Transition C= hassis::requestedPowerTransition(Transitio= n value)
{

log<= level::INFO>("Change to Chassis Requested Power State",
entry("CHASSIS_REQUESTED_POWER_STATE=3D%s&qu= ot;,
convertForMessage(value).c_s= tr()));
executeTransition(v= alue);
<= span style=3D"color:rgb(197,134,192)">return server<= span style=3D"color:rgb(212,212,212)">::Chassis::requestedPowerTransition(value);
}

but jour= nalctl only display "Change to = Chassis Requested Power State", the "CHASSIS_REQUESTED_POWER_STATE=3D%s" part is m= issed, can someone tell me how to get it back? I tried google but can't= find the answer.

And that will be grea= t if someone can guide me how to port and debug power control, I tried &qu= ot;obmutil chassison" in debug console but doesn't work. I can'= ;t find detailed document about porting.

Thank you= !

Jeff




--000000000000f1370605984aeac1--