File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 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:
4646
4747``` python
4848logging_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+ )
5355)
5456logger = logging_config.get_logger(__name__ )
5557```
@@ -228,4 +230,4 @@ This project is licensed under the GNU AFFERO GENERAL PUBLIC LICENSE - see the [
228230
229231- [ Python Logging Best Practices Tips] ( https://coralogix.com/blog/python-logging-best-practices-tips/ )
230232- [ 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