diff options
author | Willy Tu <wltu@google.com> | 2022-05-11 01:08:10 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2022-06-02 21:13:52 +0300 |
commit | f848367f45e16f715b1df8b07cc6747e2f4b5aba (patch) | |
tree | d654dc1ab19c267d1ff2cb13c2424edd260f6f77 /meson_options.txt | |
parent | aa6d4537531a9242a051579ced5fd06837b5bb24 (diff) | |
download | bmcweb-f848367f45e16f715b1df8b07cc6747e2f4b5aba.tar.xz |
Enable redfish journal by default
The journal logs in redfish provide really useful information for
debugging. Enabling it by default for all system to use it.
Tested:
Redfish Validator Passed
Working example,
```
wget -qO- http://localhost:80/redfish/v1/Managers/bmc/LogServices/Journal
{
"@odata.id": "/redfish/v1/Managers/bmc/LogServices/Journal",
"@odata.type": "#LogService.v1_1_0.LogService",
"DateTime": "1970-01-02T22:46:40+00:00",
"DateTimeLocalOffset": "+00:00",
"Description": "BMC Journal Log Service",
"Entries": {
"@odata.id": "/redfish/v1/Managers/bmc/LogServices/Journal/Entries"
},
"Id": "BMC Journal",
"Name": "Open BMC Journal Log Service",
"OverWritePolicy": "WrapsWhenFull"
}
```
```
{
"@odata.id": "/redfish/v1/Managers/bmc/LogServices/Journal/Entries",
"@odata.type": "#LogEntryCollection.LogEntryCollection",
"Description": "Collection of BMC Journal Entries",
"Members": [
{
"@odata.id": "/redfish/v1/Managers/bmc/LogServices/Journal/Entries/91187366227",
"@odata.type": "#LogEntry.v1_8_0.LogEntry",
"Created": "1970-01-02T01:19:47+00:00",
"EntryType": "Oem",
"Id": "91187366227",
"Message": "bmcweb: (1970-01-02 01:19:47) [DEBUG \"memory.hpp\":438] Get available system components.",
"Name": "BMC Journal Entry",
"OemRecordFormat": "BMC Journal Entry",
"Severity": "OK"
},
...
}
```
Change-Id: I4f22e82884b28f76d7b505cca8b690132bc357b9
Signed-off-by: Willy Tu <wltu@google.com>
Diffstat (limited to 'meson_options.txt')
-rw-r--r-- | meson_options.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meson_options.txt b/meson_options.txt index e731ab344a..a32a4a4f99 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -78,7 +78,7 @@ option( option( 'redfish-bmc-journal', type: 'feature', - value: 'disabled', + value: 'enabled', description: '''Enable BMC journal access through Redfish. Paths are under /redfish/v1/Managers/bmc/LogServices/Journal.''' ) |