File tree 1 file changed +7
-5
lines changed
1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -46,10 +46,12 @@ Configure your logging settings:
46
46
47
47
``` python
48
48
logging_config = LoggingConfig(
49
- settings = LoggingSettings(),
50
- application_level = ' Development' ,
51
- enable_tracing = True ,
52
- ignore_nan_trace = True
49
+ settings = LoggingSettings(
50
+ application_level = " Development" ,
51
+ enable_tracing = True ,
52
+ ignore_nan_trace = False ,
53
+ enable_file_logging = True ,
54
+ )
53
55
)
54
56
logger = logging_config.get_logger(__name__ )
55
57
```
@@ -228,4 +230,4 @@ This project is licensed under the GNU AFFERO GENERAL PUBLIC LICENSE - see the [
228
230
229
231
- [ Python Logging Best Practices Tips] ( https://coralogix.com/blog/python-logging-best-practices-tips/ )
230
232
- [ 12 Python Logging Best Practices To Debug Apps Faster] ( https://middleware.io/blog/python-logging-best-practices/ )
231
- - [ 10 Best Practices for Logging in Python] ( https://betterstack.com/community/guides/logging/python/python-logging-best-practices/ )
233
+ - [ 10 Best Practices for Logging in Python] ( https://betterstack.com/community/guides/logging/python/python-logging-best-practices/ )
You can’t perform that action at this time.
0 commit comments