Skip to content

Commit e146c2d

Browse files
committed
test logging
1 parent 251f2ba commit e146c2d

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

redis_sync/src/redis_sync.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
# handler to do redis sync from s3
1+
import logging
2+
3+
logging.basicConfig()
4+
logger = logging.getLogger()
5+
logger.setLevel("INFO")
6+
27

38
def sync_handler(event, context):
4-
print("Marker23. New code - no publish @ 0906")
9+
print("Marker23. New code - no publish @ 0935")
10+
logger.info("Marker23. New code - no publish @ 0936")

0 commit comments

Comments
 (0)