Skip to contentSkip to conversation

Deprecate phosphor-hostlogger?

DISCUSSION Patrick Williams 2 participants 2 messages Jul 9, 2025

lore
Share & tools
lore
#0 lore raw

Hello,

Does anyone have opinions on if we deprecate phosphor-hostlogger?

I ended up becoming the "maintainer" of it due to the original maintainers no longer being able to contribute to OpenBMC. I've read through the README and it is very much not clear to me what advantages it has over using the similar functionality contained in obmc-console directly. There is some mention of rsyslog and logrotate integration, but obmc-console already supports a logrotate-like functionality, and I think rsyslog could be easily configured to pick up the log files created by obmc-console, if someone were so inclined.

It appears to only be used by the following meta layers:

* meta-amd
* meta-ampere
* meta-bytedance
* meta-quanta / s6q
* meta-tyan
* meta-yadro

It seems that this repository also incurred some bmcweb support that is enabled for most systems (by default), even though they do not have the corresponding daemon.

Can any of the system owners above comment as to what functionality they are gaining by using phosphor-hostlogger over using obmc-console directly? Is this some functionality missing from obmc-console or is it just a relationship between host logging, bmcweb and rsyslog that we need to add?

Signature · 1 line
Patrick Williams
#1 lore raw
Quoted 27 lines · Patrick Williams

Hello,

Does anyone have opinions on if we deprecate phosphor-hostlogger?

I ended up becoming the "maintainer" of it due to the original maintainers no longer being able to contribute to OpenBMC. I've read through the README and it is very much not clear to me what advantages it has over using the similar functionality contained in obmc-console directly. There is some mention of rsyslog and logrotate integration, but obmc-console already supports a logrotate-like functionality, and I think rsyslog could be easily configured to pick up the log files created by obmc-console, if someone were so inclined.

It appears to only be used by the following meta layers:

* meta-amd
* meta-ampere
* meta-bytedance
* meta-quanta / s6q
* meta-tyan
* meta-yadro

It seems that this repository also incurred some bmcweb support that is enabled for most systems (by default), even though they do not have the corresponding daemon.

Quoted 8 lines

Can any of the system owners above comment as to what functionality they are gaining by using phosphor-hostlogger over using obmc-console directly? Is this some functionality missing from obmc-console or is it just a relationship between host logging, bmcweb and rsyslog that we need to add?

--
Patrick Williams

I'm not aware of any bmcweb users. Since the feature was merged it has been relatively quiet in terms of additions/bug fixes. I'm in support of removing/deprecating it.

-Ed