Skip to content

[dhcp_server] [rsyslog] Logs are not written to host #18472

@vivekrnv

Description

@vivekrnv

Description

dhcp_server rsyslog container plugin is not writing logs to host. Logs are written to /var/log/syslog under the container

Steps to reproduce the issue:

  1. Run https://github.com/sonic-net/sonic-mgmt/blob/master/tests/process_monitoring/test_critical_process_monitoring.py to easily repro the issue
  2. or start the dhcp_server and see nothing is written to syslog

Describe the results you received:

Expected Messages that are missing:
.*Process 'dhcpservd' is not running in namespace 'host'.*
.*Process 'kea-dhcp4' is not running in namespace 'host'.*

Describe the results you expected:

Logs should be written correctly

Metadata

Metadata

Assignees

Labels

MSFTP0Priority of the issueTriagedthis issue has been triaged

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions