Skip to content

Commit

Permalink
Updated logging conf
Browse files Browse the repository at this point in the history
  • Loading branch information
RajithJarang committed May 20, 2023
1 parent 91ae76d commit 40cd48e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion app/conf/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

class Config:
version = "0.1.0"
title = "releads"
title = "kimo.ai"

app_settings = {
'db_name': os.getenv('MONGO_DB'),
Expand All @@ -21,6 +21,7 @@ class Config:
'min_db_conn_count': os.getenv('MIN_CONNECTIONS_COUNT'),
'courses_file': os.getenv('COURSES_FILE'),
}
print(app_settings)

@classmethod
def app_settings_validate(cls):
Expand Down
2 changes: 1 addition & 1 deletion app/conf/logging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ handlers:
filters: [sensitive_info]
file_handler:
class: logging.FileHandler
filename: app.log
filename: /tmp/app.log
level: $LOG_LEVEL
formatter: simple
filters: [sensitive_info]
Expand Down

0 comments on commit 40cd48e

Please sign in to comment.