mirror of
https://github.com/kristoferssolo/bunyan-formatter.git
synced 2025-10-21 17:20:35 +00:00
docs: update project name
This commit is contained in:
parent
b24a924a4f
commit
461911b3d6
@ -72,13 +72,15 @@ logger.critical("This is a critical message")
|
||||
In your Django project's `settings.py` file, add the following logging configuration:
|
||||
|
||||
```python
|
||||
BASE_DIR = Path(__file__).resolve().parent.parent
|
||||
|
||||
LOGGING = {
|
||||
"version": 1,
|
||||
"disable_existing_loggers": False,
|
||||
"formatters": {
|
||||
"bunyan": {
|
||||
"()": BunyanFormatter,
|
||||
"project_name": "cashflow",
|
||||
"project_name": "MyProject",
|
||||
"project_root": BASE_DIR,
|
||||
},
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user