Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

only listen on localhost

  • Loading branch information...
commit f803e771f75f444c09e9902a8545a53356f6934a 1 parent b0c6323
@sebest authored
Showing with 3 additions and 3 deletions.
  1. +1 −1  debian/changelog
  2. +1 −1  pystash/cli.py
  3. +1 −1  pystash/server.py
View
2  debian/changelog
@@ -1,4 +1,4 @@
-pystash (0.1-2~precise1) precise-dc; urgency=low
+pystash (0.1-3~precise1) precise-dc; urgency=low
* source package automatically created by stdeb 0.6.0+git
View
2  pystash/cli.py
@@ -5,7 +5,7 @@
def main():
parser = argparse.ArgumentParser(description='Proxy for python logging UDP/TCP to logstash/redis', version=__version__)
- parser.add_argument('--bind-ip', metavar='IP', help='IP address to listen on', default='0.0.0.0')
+ parser.add_argument('--bind-ip', metavar='IP', help='IP address to listen on', default='127.0.0.1')
parser.add_argument('--tcp-port', metavar='PORT', help='TCP port to listen on', default=9020, type=int)
parser.add_argument('--udp-port', metavar='PORT', help='UDP port to listen on', default=9021, type=int)
parser.add_argument('--redis-host', metavar='HOST', help='IP address of the redis server', default='localhost')
View
2  pystash/server.py
@@ -21,7 +21,7 @@
class Server(object):
- def __init__(self, bind_ip='0.0.0.0', tcp_port=DEFAULT_TCP, udp_port=DEFAULT_UDP, redis_host='localhost', redis_port=6379, redis_queue='logstash'):
+ def __init__(self, bind_ip='127.0.0.1', tcp_port=DEFAULT_TCP, udp_port=DEFAULT_UDP, redis_host='localhost', redis_port=6379, redis_queue='logstash'):
self.redis = redis.Redis(redis_host, redis_port)
self.redis_queue = redis_queue
self.formatter = LogstashFormatter()
Please sign in to comment.
Something went wrong with that request. Please try again.