skip to navigation
skip to content

logfit 0.0.6

Watch and upload log files to log.fit

The LogFit daemon watches log files and sends data to the LogFit app for analysis.

Installation

TODO

Usage

# Start in foreground mode
python3 logfit/client.py [run|foreground]

# Start in daemon mode
python3 logfit/client.py start

# Stop daemon
python3 logfit/client.py stop

# Restart the daemon
python3 logfit/client.py restart

# Get the daemon status
python3 logfit/client.py status

Development

pip install -r requirements-test.txt
coverage run setup.py test
coverage report
flake8

Publishing

# Publish to PyPI
pip install twine
python setup.py sdist bdist_wheel
twine upload dist/*

# Generate binaries for multiple operating systems
pyinstaller logfit/main.py -F -p logfit --hidden-import queue -n logfit_linux_x86_64
pyinstaller logfit/main.py -F -p logfit --hidden-import queue -n logfit_macos_x86_64
pyinstaller logfit/main.py -F -p logfit --hidden-import queue -n logfit_windows_x86_64

# Copy binaries into logfit-daemon-binary
 
File Type Py Version Uploaded on Size
logfit-0.0.6-py3-none-any.whl (md5) Python Wheel py3 2017-08-13 9KB
logfit-0.0.6.tar.gz (md5) Source 2017-08-13 6KB