forked from feder-cr/Jobs_Applier_AI_Agent_AIHawk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request feder-cr#688 from surapuramakhil/ft_logging_enhanc…
…ements
- Loading branch information
Showing
9 changed files
with
49 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,11 @@ | ||
# In this file, you can set the configurations of the app. | ||
|
||
""" | ||
MINIMUM_LOG_LEVEL can only be one of the followings: | ||
- "DEBUG" | ||
- "INFO" | ||
- "WARNING" | ||
- "ERROR" | ||
- "CRITICAL" | ||
""" | ||
MINIMUM_LOG_LEVEL = "DEBUG" | ||
LOG_TO_FILE = True | ||
LOG_TO_CONSOLE = True | ||
from constants import DEBUG, LOG_TO_CONSOLE, LOG_TO_FILE, MINIMUM_LOG_LEVEL | ||
|
||
LOG_CONFIG = { | ||
MINIMUM_LOG_LEVEL: DEBUG, | ||
LOG_TO_FILE: True, | ||
LOG_TO_CONSOLE: True | ||
} | ||
|
||
MINIMUM_WAIT_TIME = 60 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
DEBUG = "DEBUG" | ||
INFO = "INFO" | ||
WARNING = "WARNING" | ||
ERROR = "ERROR" | ||
CRITICAL = "CRITICAL" | ||
|
||
MINIMUM_LOG_LEVEL = "MINIMUM_LOG_LEVEL" | ||
LOG_TO_FILE = "LOG_TO_FILE" | ||
LOG_TO_CONSOLE = "LOG_TO_CONSOLE" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters