Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1bf2dcb

Browse files
committed
add logging config to KCL client
1 parent 72e149e commit 1bf2dcb

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

‎localstack/utils/kinesis/kinesis_connector.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,8 +307,9 @@ def generate_processor_script(events_file, log_file=None):
307307
else:
308308
log_file = 'None'
309309
content = """#!/usr/bin/env python
310-
import os, sys, json, socket, time
310+
import os, sys, json, socket, time, logging
311311
import subprocess32 as subprocess
312+
logging.basicConfig(level=logging.INFO)
312313
sys.path.insert(0, '%s/lib/python2.7/site-packages')
313314
sys.path.insert(0, '%s')
314315
from localstack.utils.kinesis import kinesis_connector

‎setup.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def run(self):
7676

7777
setup(
7878
name='localstack',
79-
version='0.1.16',
79+
version='0.1.17',
8080
description='Provides an easy-to-use test/mocking framework for developing Cloud applications',
8181
author='Waldemar Hummer (Atlassian)',
8282
author_email='[email protected]',

0 commit comments

Comments
 (0)