Spaces:
Sleeping
Sleeping
Commit
·
940c3be
1
Parent(s):
e8bf2aa
info logging
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ from deep_translator import GoogleTranslator, exceptions
|
|
10 |
from urllib.parse import quote_plus
|
11 |
|
12 |
# Set up logging
|
13 |
-
logging.basicConfig(level=logging.
|
14 |
|
15 |
# Global variables for database connection and translator
|
16 |
conn = None
|
|
|
10 |
from urllib.parse import quote_plus
|
11 |
|
12 |
# Set up logging
|
13 |
+
logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s')
|
14 |
|
15 |
# Global variables for database connection and translator
|
16 |
conn = None
|