Spaces:
Sleeping
Sleeping
apple muncy commited on
Commit ·
969592a
1
Parent(s): ae0cc9b
move tag.log
Browse filesSigned-off-by: apple muncy <apple@dell-deb-12-5.local>
- app.py +1 -1
- mcp_server.py +1 -1
app.py
CHANGED
|
@@ -14,7 +14,7 @@ from dotenv import load_dotenv
|
|
| 14 |
#add logging
|
| 15 |
import logging
|
| 16 |
logger = logging.getLogger(__name__)
|
| 17 |
-
logging.basicConfig(filename='tag.log', encoding='utf-8', level=logging.DEBUG)
|
| 18 |
logger.debug('This message should go to the log file')
|
| 19 |
logger.info('So should this')
|
| 20 |
logger.warning('And this, too')
|
|
|
|
| 14 |
#add logging
|
| 15 |
import logging
|
| 16 |
logger = logging.getLogger(__name__)
|
| 17 |
+
logging.basicConfig(filename='/home/user/tag.log', encoding='utf-8', level=logging.DEBUG)
|
| 18 |
logger.debug('This message should go to the log file')
|
| 19 |
logger.info('So should this')
|
| 20 |
logger.warning('And this, too')
|
mcp_server.py
CHANGED
|
@@ -13,7 +13,7 @@ from dotenv import load_dotenv
|
|
| 13 |
#adding logger"🚀 Starting HF Tagging Bot...
|
| 14 |
import logging
|
| 15 |
loggerS = logging.getLogger(__name__)
|
| 16 |
-
logging.basicConfig(filename='tag.log', encoding='utf-8', level=logging.DEBUG)
|
| 17 |
#for testing logger
|
| 18 |
loggerS.debug('MCP-server, This message should go to the log file')
|
| 19 |
|
|
|
|
| 13 |
#adding logger"🚀 Starting HF Tagging Bot...
|
| 14 |
import logging
|
| 15 |
loggerS = logging.getLogger(__name__)
|
| 16 |
+
logging.basicConfig(filename='/home/user/tag.log', encoding='utf-8', level=logging.DEBUG)
|
| 17 |
#for testing logger
|
| 18 |
loggerS.debug('MCP-server, This message should go to the log file')
|
| 19 |
|