### Navigation

- index
- modules |
- next |
- previous |
- pywws 14.03.dev1177 documentation »
- Python programs and modules »

# pywws-livelog-daemon

Run ‘live logging’ as a UNIX daemon.

    usage: pywws-livelog-daemon.py [options] data_dir log_file start|stop|restart
    options are:
     -h      or --help        display this help
     -p file or --pid file    store pid in 'file' (default /run/lock/pywws.pid)
     -v      or --verbose     increase amount of logging messages
    data_dir is the root directory of the weather data (e.g. /data/weather)
    log_file is a file to write logging to, e.g. /var/log/pywws.log

Requires the python-daemon library.

If you get a “function() argument 1 must be code, not str” error, try installing python-daemon from PyPI instead of your Linux repos.

For more information on ‘live logging’ see How to set up ‘live’ logging with pywws.

### Navigation

- index
- modules |
- next |
- previous |
- pywws 14.03.dev1177 documentation »
- Python programs and modules »