crypticorn 2.13.2__py3-none-any.whl → 2.13.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- crypticorn/common/logging.py +2 -1
- {crypticorn-2.13.2.dist-info → crypticorn-2.13.3.dist-info}/METADATA +1 -1
- {crypticorn-2.13.2.dist-info → crypticorn-2.13.3.dist-info}/RECORD +7 -7
- {crypticorn-2.13.2.dist-info → crypticorn-2.13.3.dist-info}/WHEEL +0 -0
- {crypticorn-2.13.2.dist-info → crypticorn-2.13.3.dist-info}/entry_points.txt +0 -0
- {crypticorn-2.13.2.dist-info → crypticorn-2.13.3.dist-info}/licenses/LICENSE +0 -0
- {crypticorn-2.13.2.dist-info → crypticorn-2.13.3.dist-info}/top_level.txt +0 -0
crypticorn/common/logging.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
from __future__ import annotations
|
2
2
|
|
3
3
|
import logging
|
4
|
+
from logging.handlers import RotatingFileHandler
|
4
5
|
import sys
|
5
6
|
from crypticorn.common.mixins import ValidateEnumMixin
|
6
7
|
from crypticorn.common.ansi_colors import AnsiColors as C
|
@@ -109,7 +110,7 @@ def configure_logging(
|
|
109
110
|
# Configure file handler
|
110
111
|
if log_file:
|
111
112
|
os.makedirs(os.path.dirname(log_file), exist_ok=True)
|
112
|
-
file_handler =
|
113
|
+
file_handler = RotatingFileHandler(
|
113
114
|
log_file, maxBytes=10 * 1024 * 1024, backupCount=5
|
114
115
|
)
|
115
116
|
file_handler.setLevel(file_level)
|
@@ -72,7 +72,7 @@ crypticorn/common/decorators.py,sha256=t5Y3vSJ-gt0n2vOYYjYN0dtzNXvZxrJs2SEItpzG8
|
|
72
72
|
crypticorn/common/enums.py,sha256=YE7ObydyWAKO8MOSQBwk9M1PzzaPvlnxc6Dbpu78QMk,787
|
73
73
|
crypticorn/common/errors.py,sha256=VZlZ_vA_9MhNhz8vURUiwHMoF9EjteqIYWHtSLLYRVM,30130
|
74
74
|
crypticorn/common/exceptions.py,sha256=4oT58wcL9zQuqYU8op_36uZ1Kzt7JRCccu-o_usgqtU,6392
|
75
|
-
crypticorn/common/logging.py,sha256=
|
75
|
+
crypticorn/common/logging.py,sha256=n-qaYreRNFVAFRUd91hzYoaTExNLysd9cgEXm-v6eJY,4440
|
76
76
|
crypticorn/common/middleware.py,sha256=O7XiXPimNYUhF9QTv6yFUTVlb91-SK-3CfTrWMNP6Ck,1011
|
77
77
|
crypticorn/common/mixins.py,sha256=l7XQrBISaee6fDZXy96k0HnQ18XYocjTUXlNpVxhaOY,2206
|
78
78
|
crypticorn/common/openapi.py,sha256=D8bCpCVVzYQptHrJ7SYOgCxI3R_d0cjW9KMOBq-x0xk,279
|
@@ -279,9 +279,9 @@ crypticorn/trade/client/models/strategy_update.py,sha256=f7UsKSlNardj5h6uqHYbacj
|
|
279
279
|
crypticorn/trade/client/models/tpsl.py,sha256=lLPVSvLETgLMFqH9wEBUTQXY6aaydMifEt47mYbfw-A,4111
|
280
280
|
crypticorn/trade/client/models/tpsl_create.py,sha256=nX4i2BGWv5rmu3SLgRngfvEMFOWa3CIy0G3fyoxI-e4,3351
|
281
281
|
crypticorn/trade/client/models/trading_action_type.py,sha256=BysUEOl85zs79EA2zOcDN1EExcpQdABaJ4Jz08_z8VU,857
|
282
|
-
crypticorn-2.13.
|
283
|
-
crypticorn-2.13.
|
284
|
-
crypticorn-2.13.
|
285
|
-
crypticorn-2.13.
|
286
|
-
crypticorn-2.13.
|
287
|
-
crypticorn-2.13.
|
282
|
+
crypticorn-2.13.3.dist-info/licenses/LICENSE,sha256=HonAVvzFXkP2C1d7D3ByIKPwjGH8NcHTAQvKH7uvOHQ,1856
|
283
|
+
crypticorn-2.13.3.dist-info/METADATA,sha256=HWNGC3-8kATSdH1WtkqFmm0aiGXU1QNR4F_6GrWQCfI,9490
|
284
|
+
crypticorn-2.13.3.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
|
285
|
+
crypticorn-2.13.3.dist-info/entry_points.txt,sha256=d_xHsGvUTebPveVUK0SrpDFQ5ZRSjlI7lNCc11sn2PM,59
|
286
|
+
crypticorn-2.13.3.dist-info/top_level.txt,sha256=EP3NY216qIBYfmvGl0L2Zc9ItP0DjGSkiYqd9xJwGcM,11
|
287
|
+
crypticorn-2.13.3.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|