Skip to content

Commit 5e04df2

Browse files
authored
Update readme
1 parent bc325cf commit 5e04df2

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ from microbootstrap import LitestarSettings
9797

9898
class YourSettings(LitestarSettings):
9999
# General settings
100-
service_debug: bool = False
101100
service_name: str = "my-awesome-service"
102101

103102
# Sentry settings
@@ -140,7 +139,6 @@ Example:
140139

141140
```python
142141
class YourSettings(BaseServiceSettings):
143-
service_debug: bool = True
144142
service_name: str = "micro-service"
145143

146144
your_awesome_parameter: str = "really awesome"
@@ -171,7 +169,6 @@ from microbootstrap.settings import BaseServiceSettings
171169

172170

173171
class ServiceSettings(BaseServiceSettings):
174-
service_debug: bool = True
175172
service_environment: str | None = None
176173
service_name: str = "micro-service"
177174
service_description: str = "Micro service description"
@@ -324,7 +321,7 @@ These settings are subsequently passed to [opentelemetry](https://opentelemetry.
324321
<b>microbootstrap</b> provides in-memory JSON logging through the use of [structlog](https://pypi.org/project/structlog/).
325322
For more information on in-memory logging, refer to [MemoryHandler](https://docs.python.org/3/library/logging.handlers.html#memoryhandler).
326323

327-
To utilize this feature, your application must be in non-debug mode, meaning `service_debug` should be set to `False`.
324+
To utilize this feature, your application must be in non-debug mode, meaning `service_debug` should be set to `False`, which is the default.
328325

329326
```python
330327
import logging

0 commit comments

Comments
 (0)