mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-06-19 17:18:23 +02:00
Add settings entries for suppressable logging messages around email
processing.
This commit is contained in:
parent
1f22f545b5
commit
da3ba66277
@ -94,4 +94,12 @@ You may add your own site specific navigation header to be included inside the <
|
||||
|
||||
helpdesk/custom_navigation_header.html
|
||||
|
||||
2. Update the contents to display your custom navigation.
|
||||
2. Update the contents to display your custom navigation.
|
||||
|
||||
Suppressable Log Messages
|
||||
-------------------------
|
||||
Some logging messages support being switched on or off accroding to deplpoyment preferences.
|
||||
|
||||
The following settings variables control emiting log messages for specific scenarios:
|
||||
LOG_WARN_WHEN_CC_EMAIL_NOT_LINKED_TO_A_USER - there is no user matching the email address in the CC list. Defaults to False
|
||||
LOG_WARN_WHEN_CC_EMAIL_LINKED_TO_MORE_THAN_1_USER - there is more than 1 user matching the email address in the CC list. Defaults to True
|
||||
|
@ -487,3 +487,11 @@ HELPDESK_GET_NEW_TICKET_WEBHOOK_URLS = getattr(
|
||||
)
|
||||
|
||||
HELPDESK_WEBHOOK_TIMEOUT = getattr(settings, "HELPDESK_WEBHOOK_TIMEOUT", 3)
|
||||
|
||||
|
||||
LOG_WARN_WHEN_CC_EMAIL_NOT_LINKED_TO_A_USER = getattr(
|
||||
settings, "HELPDESK_LOG_WARN_WHEN_CC_EMAIL_NOT_LINKED_TO_A_USER", False
|
||||
)
|
||||
LOG_WARN_WHEN_CC_EMAIL_LINKED_TO_MORE_THAN_1_USER = getattr(
|
||||
settings, "HELPDESK_LOG_WARN_WHEN_CC_EMAIL_LINKED_TO_MORE_THAN_1_USER", True
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user