All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Chan <ckimchan17@gmail.com>
To: openbmc@lists.ozlabs.org
Subject: phosphor logging
Date: Wed, 27 Nov 2019 10:40:09 +0800	[thread overview]
Message-ID: <CAMpjGno21Fff20TqWS1jaW3x5_HDF4D+pTqz=coSgh8YwRzq3w@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 893 bytes --]

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<level::INFO>("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

[-- Attachment #2: Type: text/html, Size: 3680 bytes --]

             reply	other threads:[~2019-11-27  2:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-27  2:40 Jeff Chan [this message]
2019-11-27  2:49 ` phosphor logging CS20 CHLi30
2019-11-27  3:27   ` 回覆:phosphor logging ‪‪‪‪Jeff Chan‬‬‬‬
2019-11-27  5:08 ` phosphor logging Devender Rao
2019-12-04 20:57   ` Vernon Mauery

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAMpjGno21Fff20TqWS1jaW3x5_HDF4D+pTqz=coSgh8YwRzq3w@mail.gmail.com' \
    --to=ckimchan17@gmail.com \
    --cc=openbmc@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.