pyloggr.scripts package

The script subpackage contains launchers for the pyloggr’s processes.

class PyloggrProcess(fork=True, shared_cache=True)[source]

Bases: object

Boilerplate for starting the different pyloggr processes

_launch(*args, **kwargs)[source]

launch() Abstract method

Note

Tornado coroutine

main()[source]

main method

  • Initialize Redis cache
  • set up signal handlers
  • fork if necessary
  • run the launch method
shutdown()[source]

Cleanly shutdown the process

Note

Tornado coroutine