Skip to content

remove syslog.conf related cleanup from dockerfiles  #4778

@arlakshm

Description

@arlakshm

Description
This is a todo task created to cleanup the syslog related dockerfiles.

As part of syslog changes for Multi NPU platforms, the rsyslog.conf in the containers are rendered a from jinja template before docker create and copied to the container.

An improvement to this approach is update all the dockers files to render the rsyslog.conf from j2 template
The following code can also be removed from docker files, as it will be redundant

ARG docker_container_name
RUN [ -f /etc/rsyslog.conf ] && sed -ri "s/%syslogtag%/$docker_container_name#%syslogtag%/;" /etc/rsyslog.conf

This task is create to implement the improvements

Metadata

Metadata

Assignees

Labels

P1Priority of the issue, lower than P0

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions