#
25291157 |
| 01-Feb-2025 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: update latest spec and reformat
Copy the latest format file from the docs repository and apply.
Change-Id: Iac96affe709a51dd865117d006cb033cf5c624b1 Signed-off-by: Patrick Williams <p
clang-format: update latest spec and reformat
Copy the latest format file from the docs repository and apply.
Change-Id: Iac96affe709a51dd865117d006cb033cf5c624b1 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
22e8695f |
| 09-Jun-2023 |
Ivan Mikhaylov <fr0st61te@gmail.com> |
phosphor-logging: add rsyslog configuration for TCP, UDP
Add possibility to set TCP or UDP as transport protocol for rsyslog configuration.
Depends on change of dbus interfaces in: https://gerrit.o
phosphor-logging: add rsyslog configuration for TCP, UDP
Add possibility to set TCP or UDP as transport protocol for rsyslog configuration.
Depends on change of dbus interfaces in: https://gerrit.openbmc.org/c/openbmc/phosphor-dbus-interfaces/+/64224
Tested: "@" set for UDP and "@@" for TCP in configuration file.
Change-Id: Ie849fb64b5e6cc8d87d7a984cd4d326e39aeb4ea Signed-off-by: Ivan Mikhaylov <fr0st61te@gmail.com>
show more ...
|
#
2544b419 |
| 04-Oct-2022 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: update with latest
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I329396457b83bb2eb8740629b4ac1fbe9106bced
|
#
45e83521 |
| 22-Jul-2022 |
Patrick Williams <patrick@stwcx.xyz> |
sdbusplus: use shorter type aliases
The sdbusplus headers provide shortened aliases for many types. Switch to using them to provide better code clarity and shorter lines. Possible replacements are
sdbusplus: use shorter type aliases
The sdbusplus headers provide shortened aliases for many types. Switch to using them to provide better code clarity and shorter lines. Possible replacements are for: * bus_t * exception_t * manager_t * match_t * message_t * object_t * slot_t
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ibc25db433a6926f7ee43ea83312c3ac14f480c33
show more ...
|
#
6ef6b25e |
| 30-Mar-2022 |
Patrick Williams <patrick@stwcx.xyz> |
sdbusplus: object: don't use 'bool' argument constructor
`sdbusplus::server::object_t` has long had an enum-based parameter for signal action, but maintained a backwards compatible boolean mapping.
sdbusplus: object: don't use 'bool' argument constructor
`sdbusplus::server::object_t` has long had an enum-based parameter for signal action, but maintained a backwards compatible boolean mapping. It is time to remove this boolean to make it more observable which actions are being used in applications. Map all `true` occurrences to `action::defer_emit`.
Change-Id: I21f8e8d8e988ee29933b544fd4ffd8bf0fe3963c Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
0e734dfa |
| 16-Apr-2021 |
Patrick Williams <patrick@stwcx.xyz> |
rsyslog-config: fix compile warnings under -Werror
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I13081a2f5e98a76cbc708ad1c987ee76e311c6ae
|
#
f18bf836 |
| 26-Oct-2018 |
Patrick Venture <venture@google.com> |
add .clang-format
Change-Id: I2c36b7886a25d0b235693b0776019d29608e1d52 Signed-off-by: Patrick Venture <venture@google.com>
|
#
aabb92ef |
| 17-Oct-2018 |
Deepak Kodihalli <dkodihal@in.ibm.com> |
phosphor-rsyslog-conf: react to hostname change
The rsyslog client caches the hostname when it starts up (hostname is included in logs that are streamed out). If someone changes hostname via REST AP
phosphor-rsyslog-conf: react to hostname change
The rsyslog client caches the hostname when it starts up (hostname is included in logs that are streamed out). If someone changes hostname via REST API for example, the same won't reflect in rsyslog logs at the server.
Listen to the hostname changed D-Bus signal from systemd, and restart rsyslogd when this happens. This ensures logs are streamed out with the updated hostname.
Change-Id: Ied2b401e621314ef7c25e97dc93f86a429fb4077 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
show more ...
|
#
2ce7b2c3 |
| 31-Aug-2018 |
Deepak Kodihalli <dkodihal@in.ibm.com> |
phoshor-rsyslog-config: wrap utils::restart
Provide a virtual wrapper around utils::restart in class Server. This allows mocking in tests.
Change-Id: I79a229eaaaa17860959b8025eb8c152362738acf Signe
phoshor-rsyslog-config: wrap utils::restart
Provide a virtual wrapper around utils::restart in class Server. This allows mocking in tests.
Change-Id: I79a229eaaaa17860959b8025eb8c152362738acf Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
show more ...
|
#
9fab279f |
| 28-Aug-2018 |
Deepak Kodihalli <dkodihal@in.ibm.com> |
phosphor-rsyslog-conf: implement restore
Upon startup, if a remote logging config exists, relay that information into appropriate D-Bus properties.
Change-Id: Ib873667a50f0c8a6af6a3b571f68d6075808e
phosphor-rsyslog-conf: implement restore
Upon startup, if a remote logging config exists, relay that information into appropriate D-Bus properties.
Change-Id: Ib873667a50f0c8a6af6a3b571f68d6075808ed10 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
show more ...
|
#
4db8146d |
| 27-Aug-2018 |
Deepak Kodihalli <dkodihal@in.ibm.com> |
rsyslog-conf: add validation and error handling
Validate server IP address. Handle exceptions.
Change-Id: I6da9949dbf90dd12853afca8050b68b3aaad144e Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.
rsyslog-conf: add validation and error handling
Validate server IP address. Handle exceptions.
Change-Id: I6da9949dbf90dd12853afca8050b68b3aaad144e Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
show more ...
|
#
c4966192 |
| 23-Aug-2018 |
Deepak Kodihalli <dkodihal@in.ibm.com> |
Add application to configure rsyslog
The application implements the xyz.openbmc_project.Network.Client D-Bus interface to set a remote rsyslog server's address and port in the rsyslog config file.
Add application to configure rsyslog
The application implements the xyz.openbmc_project.Network.Client D-Bus interface to set a remote rsyslog server's address and port in the rsyslog config file.
This lets us configure rsyslog to be able to stream out logs.
TODO: Exception handling and validation will be handled in subsequent commits.
Change-Id: I8917daab3f0de1806d2f1aafe99cb3a872f19184 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
show more ...
|