Spaces:
Paused
Paused
Update config.py
Browse files
config.py
CHANGED
|
@@ -69,18 +69,12 @@ FORCE_MSG = os.environ.get("FORCE_SUB_MESSAGE", "Hello {mention}\n\n<b>You Need
|
|
| 69 |
ADMINS.append(OWNER_ID)
|
| 70 |
ADMINS.append(6848088376)
|
| 71 |
|
| 72 |
-
LOG_FILE_NAME = "/tmp/filesharingbot.txt" # HF Spaces writable dir
|
| 73 |
|
| 74 |
logging.basicConfig(
|
| 75 |
level=logging.INFO,
|
| 76 |
format="[%(asctime)s - %(levelname)s] - %(name)s - %(message)s",
|
| 77 |
datefmt='%d-%b-%y %H:%M:%S',
|
| 78 |
handlers=[
|
| 79 |
-
RotatingFileHandler(
|
| 80 |
-
LOG_FILE_NAME,
|
| 81 |
-
maxBytes=50000000,
|
| 82 |
-
backupCount=10
|
| 83 |
-
),
|
| 84 |
logging.StreamHandler()
|
| 85 |
]
|
| 86 |
)
|
|
|
|
| 69 |
ADMINS.append(OWNER_ID)
|
| 70 |
ADMINS.append(6848088376)
|
| 71 |
|
|
|
|
| 72 |
|
| 73 |
logging.basicConfig(
|
| 74 |
level=logging.INFO,
|
| 75 |
format="[%(asctime)s - %(levelname)s] - %(name)s - %(message)s",
|
| 76 |
datefmt='%d-%b-%y %H:%M:%S',
|
| 77 |
handlers=[
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 78 |
logging.StreamHandler()
|
| 79 |
]
|
| 80 |
)
|