Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Bug: Not able to add Log message to a file #16

@ldeepakraj6

Description

@ldeepakraj6

Problem/Opportunity

I have integrated RDK Logger component in the module and Logs are getting printed in stdout.

https://wiki.rdkcentral.com/display/RDK/RDK+Logger#:~:text=All%20the%20RDK%20components%20logs,logged%20by%20POD%20Manager%20module

I have added below configs in debug.ini
SEPARATE.LOGFILE.SUPPORT=TRUE
LOG.DIRECTORY=/opt/logs/
LOG.DESTINATION=FILE,SYSLOG

Steps to reproduce

No response

Expected Behavior

RDK LOGS log message should be added to the component log file under /opt/logs directory

Actual Behavior

RDK LOGS log message are printed in stdout. can be viewwd via journalctl command

Notes (Optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions