Skip to content

Commit

Permalink
Local development server to log on stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
arundhaj committed Nov 30, 2016
1 parent afc3457 commit 3732c08
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions chalice/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
"""
import json
import functools
import logging
import sys
from collections import namedtuple
from BaseHTTPServer import HTTPServer
from BaseHTTPServer import BaseHTTPRequestHandler
Expand All @@ -15,6 +17,7 @@
from chalice.app import Chalice # noqa
from typing import List, Any, Dict, Tuple, Callable # noqa

logging.basicConfig(stream=sys.stdout)

MatchResult = namedtuple('MatchResult', ['route', 'captured'])
EventType = Dict[str, Any]
Expand Down

0 comments on commit 3732c08

Please sign in to comment.