You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
-25Lines changed: 0 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,29 +21,6 @@ For changes that require additional settings, you can now use local_settings.py
21
21
## Python3 version
22
22
For compatibility reasons, the code in dev branch should be python3.6 compliant.
23
23
24
-
## Logging
25
-
Logging is configured in `settings.dist.py` and can be tuned using a `local_settings.py`, see [template for local_settings.py](dojo/settings/template-local_settings)
26
-
Specific logger can be added. For example to activate logs related to the deduplication, change the level from DEBUG to INFO in `local_settings.py`:
Or you can modify `settings.dist.py` directly, but this adds the risk of having conflicts when `settings.dist.py` gets updated upstream.
34
-
35
-
```
36
-
'dojo.specific-loggers.deduplication': {
37
-
'handlers': ['console'],
38
-
'level': 'DEBUG',
39
-
'propagate': False,
40
-
}
41
-
```
42
-
43
-
## Debug Toolbar
44
-
In the `dojo/settings/template-local_settings.py` you'll find instructions on how to enable the [Django Debug Toolbar](https://github.com/jazzband/django-debug-toolbar).
45
-
This toolbar allows you to debug SQL queries, and shows some other interesting information.
46
-
47
24
## Submitting Pull Requests
48
25
49
26
The following are things to consider before submitting a pull request to
For docker-compose release mode the log level is INFO. In the other modes the log level is DEBUG. Logging is configured in `settings.dist.py` and can be tuned using a `local_settings.py`, see [template for local_settings.py](dojo/settings/template-local_settings). For example the deduplication logger can be set to DEBUG in a local_settings.py file:
Or you can modify `settings.dist.py` directly, but this adds the risk of having conflicts when `settings.dist.py` gets updated upstream.
173
+
174
+
```
175
+
'dojo.specific-loggers.deduplication': {
176
+
'handlers': ['console'],
177
+
'level': 'DEBUG',
178
+
'propagate': False,
179
+
}
180
+
```
181
+
182
+
## Debug Toolbar
183
+
In the `dojo/settings/template-local_settings.py` you'll find instructions on how to enable the [Django Debug Toolbar](https://github.com/jazzband/django-debug-toolbar).
184
+
This toolbar allows you to debug SQL queries, and shows some other interesting information.
185
+
186
+
164
187
# Exploitation, versioning
165
188
## Disable the database initialization
166
189
The initializer container can be disabled by exporting: `export DD_INITIALIZE=false`.
0 commit comments