summaryrefslogtreecommitdiff
path: root/meta-openembedded/meta-python/recipes-devtools/python/python3-systemd
diff options
context:
space:
mode:
authorHieu Huynh <hieuh@os.amperecomputing.com>2024-10-30 06:00:42 +0300
committerHieu Huynh <hieuh@os.amperecomputing.com>2024-10-30 11:09:58 +0300
commitf50d3fbb3c998fcd10ea9c41c783f06835882941 (patch)
treeb6690eab096da949eea0467fdf158b6dd8480802 /meta-openembedded/meta-python/recipes-devtools/python/python3-systemd
parent2467d3899df3bfd6da14a4589d8027be611355d4 (diff)
downloadopenbmc-f50d3fbb3c998fcd10ea9c41c783f06835882941.tar.xz
meta-ampere: mtjefferson: support Host consoles logger
This commit supports phosphor-hostlogger in STREAM mode, to forward the byte stream from obmc-console to rsyslog via the imuxsock module. The logs can be obtained in /var/log/. The logs are rotated by logrotate. The size threshold of cpu console is 256KB and the others are 64KB. Each log is polled every 1 minute to check if its file size exceeds the threshold to rotate it to the new file. Each console can be saved in up to 2 log files. Tested (CPU console): 1. Connect to CPU SOL console $ ssh root@<BMC_IP> -p 2200 2. Execute commands in the CPU SOL console => The console output on CPU SOL console will all be logged to /var/log/obmc-console-cpu.log => The log will be rotated to /var/log/obmc-console-cpu.log.1 if the original log file size exceeds 256KB every 1min poll Signed-off-by: Hieu Huynh <hieuh@os.amperecomputing.com> Change-Id: I2c22415bc2928732e7d7733e89fa2eb8faa13b9d
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-systemd')
0 files changed, 0 insertions, 0 deletions