Skip to main content

manage launchd.plist logs

Project description

Installation

$ [sudo] pip install launchd-logs

Features

  • adds launchd.plist logs:

~/Library/Logs/LaunchAgents/<Label>/out.log

~/Library/Logs/LaunchAgents/<Label>/err.log

  • creates launchd.plist log folders (prevents folder creation with root permissions)

Executable modules

usage __doc__
python -m launchd_logs.add plist_path ... add logs to plist file(s)
python -m launchd_logs.mkdir plist_path ... make plist file log folders

Examples

$ find ~/Library/LaunchAgents -name "*.plist" -exec python -m launchd_logs.add {} \;
$ find ~/Library/LaunchAgents -name "*.plist" -exec python -m launchd_logs.mkdir {} \;

Related projects

python-readme-generator

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
launchd-logs-2019.4.13.tar.gz (2.2 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page