Home
last modified time | relevance | path

Searched hist:fda37f9b6d12ff0852cba4dcdecfd633436e6152 (Results 1 – 2 of 2) sorted by relevance

/openbmc/bmcweb/redfish-core/src/
H A Dfilesystem_log_watcher.cppdiff fda37f9b6d12ff0852cba4dcdecfd633436e6152 Thu Nov 21 17:27:04 CST 2024 Ed Tanous <etanous@nvidia.com> Fix inotify

We don't need the global variable here. Cleanup is handled by the
stream_descriptor. Also check error codes per the documentation, not
just on == -1

Tested:
Created log file manually with redfish-event-listener enabled
Saw log was sent to consumer.

Change-Id: I27f13c7aedfdfe642128b7129f622047dd933380
Signed-off-by: Ed Tanous <etanous@nvidia.com>
/openbmc/bmcweb/redfish-core/include/
H A Dfilesystem_log_watcher.hppdiff fda37f9b6d12ff0852cba4dcdecfd633436e6152 Thu Nov 21 17:27:04 CST 2024 Ed Tanous <etanous@nvidia.com> Fix inotify

We don't need the global variable here. Cleanup is handled by the
stream_descriptor. Also check error codes per the documentation, not
just on == -1

Tested:
Created log file manually with redfish-event-listener enabled
Saw log was sent to consumer.

Change-Id: I27f13c7aedfdfe642128b7129f622047dd933380
Signed-off-by: Ed Tanous <etanous@nvidia.com>