Skip to content

Sub Process - Logging #1

@LukeShirnia

Description

@LukeShirnia

Change the logging from a sub process to python

subprocess.call(["/usr/bin/logger -s 'Monit: TEST - NO RESTART PERFORMED: Service has been restarted more then 3 times in 10 mins - NO action taken' 2>>/var/log/monit.remita"], shell=True)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions