Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython

logglyproxy is unavailable in PyPM, because there aren't any builds for it in the package repositories. Click the linked icons to find out why.

 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
Windows (64-bit)
Mac OS X (10.5+)
Linux (32-bit)
Linux (64-bit)
 
Links
Author
License
MIT License
Dependencies

This is a syslog server proxy. The messages it receives are forwarded to Loggly via HTTPS. The server uses gevent and keep-alive http sessions for performance.

Usage:

logglyproxy -c config_file

Here's an example config file:

[logglyproxy]
bind_address = 127.0.0.1
port = 5140
apikey = xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

And an LSB init script:

#! /bin/sh
### BEGIN INIT INFO
# Provides:          logglyproxy
# Required-Start:    $local_fs $remote_fs $network $syslog
# Required-Stop:     $local_fs $remote_fs $network $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# X-Interactive:     false
# Short-Description: Start/stop logglyproxy

DAEMON="logglyproxy"
DAEMON_USR=logglyproxy
DAEMON_GRP=logglyproxy
INSTALLPATH=/path/to/logglyproxy/virtualenv
PIDFILE=/var/run/logglyproxy.pid

. /lib/lsb/init-functions

case "$1" in
  start)
    log_begin_msg "Starting logglyproxy server..."

    # Activate the virtual environment
    . $INSTALLPATH/bin/activate

    start-stop-daemon --background --make-pidfile \
        --start --pidfile $PIDFILE \
        --user $DAEMON_USR --group $DAEMIN_GRP \
        --chuid $DAEMON_USR \
        --exec "$INSTALLPATH/bin/$DAEMON"  -- -c /etc/logglyproxy.cfg
    log_end_msg $?
    ;;
  stop)
    log_begin_msg "Stopping logglyproxy server..."
    start-stop-daemon --stop --pidfile $PIDFILE --verbose
    log_end_msg $?
    ;;
  *)
    log_success_msg "Usage: /etc/init.d/logglyproxy {start|stop}"
    exit 1
    ;;
esac

exit 0

1.0 (01/02/2011)

  • Initial release.

Subscribe to package updates

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.