forked from Github-Mirrors/canaille
doc: Fix logging configuration wording
This commit is contained in:
parent
cee7401e1d
commit
f06053b87e
2 changed files with 20 additions and 16 deletions
|
@ -258,12 +258,12 @@ class CoreSettings(BaseModel):
|
|||
LOGGING: str | dict | None = None
|
||||
"""Configures the logging output using the python logging configuration format:
|
||||
|
||||
- if :py:data:`None`, everything is logged in the standard error output
|
||||
the log level is :py:data:`~logging.DEBUG` if the :attr:`~canaille.app.configuration.RootSettings.DEBUG`
|
||||
setting is :py:data:`True`, else this is :py:data:`~logging.INFO`
|
||||
- if this is a :class:`dict`, it is passed to :func:`logging.config.dictConfig`:
|
||||
- if this is a :class:`str`, it is expected to be a file path that will be passed
|
||||
to :func:`logging.config.fileConfig`
|
||||
- If :data:`None`, everything is logged in the standard error output.
|
||||
The log level is :data:`~logging.DEBUG` if the :attr:`~canaille.app.configuration.RootSettings.DEBUG`
|
||||
setting is :py:data:`True`, else this is :py:data:`~logging.INFO`.
|
||||
- If this is a :class:`dict`, it is passed to :func:`logging.config.dictConfig`:
|
||||
- If this is a :class:`str`, it is expected to be a file path that will be passed
|
||||
to :func:`logging.config.fileConfig`.
|
||||
|
||||
For example::
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: PROJECT VERSION\n"
|
||||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
||||
"POT-Creation-Date: 2024-12-06 14:57+0100\n"
|
||||
"POT-Creation-Date: 2024-12-08 11:27+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
@ -745,7 +745,7 @@ msgstr ""
|
|||
#: canaille/core/templates/group.html:65
|
||||
#: canaille/core/templates/profile_edit.html:164
|
||||
#: canaille/core/templates/profile_settings.html:166
|
||||
#: canaille/oidc/templates/client_edit.html:78
|
||||
#: canaille/oidc/templates/client_edit.html:81
|
||||
msgid "Edit"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1468,7 +1468,7 @@ msgstr ""
|
|||
#: canaille/core/templates/partial/users.html:73
|
||||
#: canaille/oidc/templates/partial/authorization_list.html:31
|
||||
#: canaille/oidc/templates/partial/client_list.html:35
|
||||
#: canaille/oidc/templates/partial/token_list.html:46
|
||||
#: canaille/oidc/templates/partial/token_list.html:45
|
||||
msgid "No item matches your request"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1477,7 +1477,7 @@ msgstr ""
|
|||
#: canaille/core/templates/partial/users.html:75
|
||||
#: canaille/oidc/templates/partial/authorization_list.html:33
|
||||
#: canaille/oidc/templates/partial/client_list.html:37
|
||||
#: canaille/oidc/templates/partial/token_list.html:48
|
||||
#: canaille/oidc/templates/partial/token_list.html:47
|
||||
msgid "Maybe try with different criteria?"
|
||||
msgstr ""
|
||||
|
||||
|
@ -1486,7 +1486,7 @@ msgstr ""
|
|||
#: canaille/core/templates/partial/users.html:78
|
||||
#: canaille/oidc/templates/partial/authorization_list.html:36
|
||||
#: canaille/oidc/templates/partial/client_list.html:40
|
||||
#: canaille/oidc/templates/partial/token_list.html:51
|
||||
#: canaille/oidc/templates/partial/token_list.html:50
|
||||
#: canaille/oidc/templates/preconsent_list.html:91
|
||||
msgid "There is nothing here"
|
||||
msgstr ""
|
||||
|
@ -1515,23 +1515,23 @@ msgstr ""
|
|||
msgid "Groups you belong to."
|
||||
msgstr ""
|
||||
|
||||
#: canaille/oidc/endpoints/clients.py:46
|
||||
#: canaille/oidc/endpoints/clients.py:47
|
||||
msgid "The client has not been added. Please check your information."
|
||||
msgstr ""
|
||||
|
||||
#: canaille/oidc/endpoints/clients.py:81
|
||||
#: canaille/oidc/endpoints/clients.py:82
|
||||
msgid "The client has been created."
|
||||
msgstr ""
|
||||
|
||||
#: canaille/oidc/endpoints/clients.py:114
|
||||
#: canaille/oidc/endpoints/clients.py:118
|
||||
msgid "The client has not been edited. Please check your information."
|
||||
msgstr ""
|
||||
|
||||
#: canaille/oidc/endpoints/clients.py:144
|
||||
#: canaille/oidc/endpoints/clients.py:148
|
||||
msgid "The client has been edited."
|
||||
msgstr ""
|
||||
|
||||
#: canaille/oidc/endpoints/clients.py:152
|
||||
#: canaille/oidc/endpoints/clients.py:156
|
||||
msgid "The client has been deleted."
|
||||
msgstr ""
|
||||
|
||||
|
@ -1698,6 +1698,10 @@ msgid "Issued at"
|
|||
msgstr ""
|
||||
|
||||
#: canaille/oidc/templates/client_edit.html:75
|
||||
msgid "New token"
|
||||
msgstr ""
|
||||
|
||||
#: canaille/oidc/templates/client_edit.html:78
|
||||
msgid "Delete the client"
|
||||
msgstr ""
|
||||
|
||||
|
|
Loading…
Reference in a new issue