Skip to content

Commit

Permalink
fix: logging
Browse files Browse the repository at this point in the history
  • Loading branch information
RuslanBergenov committed Nov 2, 2023
1 parent 6bf453d commit e1a20fc
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cf/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
import logging
from datetime import datetime
from http import HTTPStatus
import sys

logging.basicConfig(stream=sys.stdout, level=logging.INFO)

class InputValidator(object):
def __init__(self, event):
Expand Down
3 changes: 3 additions & 0 deletions cfconfigbuilder/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
import os
import logging
from flask import make_response, jsonify
import sys

logging.basicConfig(stream=sys.stdout, level=logging.INFO)

class FlattenerDatasetConfigStorage(object):
def __init__(self):
Expand Down
2 changes: 2 additions & 0 deletions cfconfigbuilderps/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
import os
import logging
from flask import make_response, jsonify
import sys

logging.basicConfig(stream=sys.stdout, level=logging.INFO)
class FlattenerDatasetConfigStorage(object):
def __init__(self):
self.bucket_name = os.environ["CONFIG_BUCKET_NAME"]
Expand Down
2 changes: 2 additions & 0 deletions cfintraday/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
import tempfile
import logging
import googleapiclient.discovery
import sys

logging.basicConfig(stream=sys.stdout, level=logging.INFO)

class InputValidatorIntraday(object):
def __init__(self, event):
Expand Down
3 changes: 3 additions & 0 deletions cfintradaysqlview/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
import tempfile
import logging
from datetime import datetime
import sys

logging.basicConfig(stream=sys.stdout, level=logging.INFO)

class InputValidatorIntraday(object):
def __init__(self, event):
Expand Down

0 comments on commit e1a20fc

Please sign in to comment.