Fix typo in logging.rst (#2492)
Remove extra parenthesis from RequestFormatter constructor.
This commit is contained in:
parent
82e66848e8
commit
9291ead32e
1 changed files with 1 additions and 1 deletions
|
|
@ -129,7 +129,7 @@ handler. ::
|
|||
formatter = RequestFormatter(
|
||||
'[%(asctime)s] %(remote_addr)s requested %(url)s\n'
|
||||
'%(levelname)s in %(module)s: %(message)s'
|
||||
))
|
||||
)
|
||||
default_handler.setFormatter(formatter)
|
||||
mail_handler.setFormatter(formatter)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue