Re: [Django] #24361: The doc is not right w.r.t. LOGGING overwriting.

2015-09-23 Thread Django
#24361: The doc is not right w.r.t. LOGGING overwriting.
---+
 Reporter:  Tuttle |Owner:  nobody
 Type:  Bug|   Status:  closed
Component:  Documentation  |  Version:  master
 Severity:  Normal |   Resolution:  fixed
 Keywords: | Triage Stage:  Accepted
Has patch:  1  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+

Comment (by Tim Graham ):

 In [changeset:"8f42934f86c1c6dff9fb24fd6fadb9d72b89d7b6" 8f42934f]:
 {{{
 #!CommitTicketReference repository=""
 revision="8f42934f86c1c6dff9fb24fd6fadb9d72b89d7b6"
 [1.7.x] Refs #24361 -- Corrected documented level of the 'django' logger.

 The logger doesn't define an explicit level, therefore it defaults
 to WARNING.

 Backport of 4a06a904dcd27388ec9a3cfb2bc8a8421bb44816 from stable/1.8.x
 }}}

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.732e7b7204aaadd63c5929df2adb3d03%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #24361: The doc is not right w.r.t. LOGGING overwriting.

2015-09-23 Thread Django
#24361: The doc is not right w.r.t. LOGGING overwriting.
---+
 Reporter:  Tuttle |Owner:  nobody
 Type:  Bug|   Status:  closed
Component:  Documentation  |  Version:  master
 Severity:  Normal |   Resolution:  fixed
 Keywords: | Triage Stage:  Accepted
Has patch:  1  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+

Comment (by Tim Graham ):

 In [changeset:"4a06a904dcd27388ec9a3cfb2bc8a8421bb44816" 4a06a90]:
 {{{
 #!CommitTicketReference repository=""
 revision="4a06a904dcd27388ec9a3cfb2bc8a8421bb44816"
 Refs #24361 -- Corrected documented level of the 'django' logger.

 The logger doesn't define an explicit level, therefore it defaults
 to WARNING.
 }}}

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.280d4f4aaefb15add3f4fb75c20f5638%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #24361: The doc is not right w.r.t. LOGGING overwriting.

2015-03-24 Thread Django
#24361: The doc is not right w.r.t. LOGGING overwriting.
---+
 Reporter:  Tuttle |Owner:  nobody
 Type:  Bug|   Status:  closed
Component:  Documentation  |  Version:  master
 Severity:  Normal |   Resolution:  fixed
 Keywords: | Triage Stage:  Accepted
Has patch:  1  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+

Comment (by Tim Graham ):

 In [changeset:"0121fb814807763541245b3c131ccace3f18ac0e" 0121fb81]:
 {{{
 #!CommitTicketReference repository=""
 revision="0121fb814807763541245b3c131ccace3f18ac0e"
 [1.7.x] Fixed #24361 -- Clarified docs on reconfiguring logging.

 Thanks Tuttle for the report and draft patch, and Carl Meyer for
 help and review.

 Backport of c633667da3605208ea5fc137f5322c599f48da69 from master
 }}}

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.6cb0c7eed5691c387a8c92b13064b5f0%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #24361: The doc is not right w.r.t. LOGGING overwriting.

2015-03-24 Thread Django
#24361: The doc is not right w.r.t. LOGGING overwriting.
---+
 Reporter:  Tuttle |Owner:  nobody
 Type:  Bug|   Status:  closed
Component:  Documentation  |  Version:  master
 Severity:  Normal |   Resolution:  fixed
 Keywords: | Triage Stage:  Accepted
Has patch:  1  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+
Changes (by Tim Graham ):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"c633667da3605208ea5fc137f5322c599f48da69" c633667d]:
 {{{
 #!CommitTicketReference repository=""
 revision="c633667da3605208ea5fc137f5322c599f48da69"
 Fixed #24361 -- Clarified docs on reconfiguring logging.

 Thanks Tuttle for the report and draft patch, and Carl Meyer for
 help and review.
 }}}

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.2ea8acbe657f9bf6bca35752993ceb96%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #24361: The doc is not right w.r.t. LOGGING overwriting.

2015-03-24 Thread Django
#24361: The doc is not right w.r.t. LOGGING overwriting.
---+
 Reporter:  Tuttle |Owner:  nobody
 Type:  Bug|   Status:  closed
Component:  Documentation  |  Version:  master
 Severity:  Normal |   Resolution:  fixed
 Keywords: | Triage Stage:  Accepted
Has patch:  1  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+

Comment (by Tim Graham ):

 In [changeset:"0dc986d1c8a3bfc7d9afdf9a8c28f39aaa101aac" 0dc986d1]:
 {{{
 #!CommitTicketReference repository=""
 revision="0dc986d1c8a3bfc7d9afdf9a8c28f39aaa101aac"
 [1.8.x] Fixed #24361 -- Clarified docs on reconfiguring logging.

 Thanks Tuttle for the report and draft patch, and Carl Meyer for
 help and review.

 Backport of c633667da3605208ea5fc137f5322c599f48da69 from master
 }}}

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.d42e3f10ee0f0180345f21f8f9b2007c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #24361: The doc is not right w.r.t. LOGGING overwriting.

2015-03-23 Thread Django
#24361: The doc is not right w.r.t. LOGGING overwriting.
---+
 Reporter:  Tuttle |Owner:  nobody
 Type:  Bug|   Status:  new
Component:  Documentation  |  Version:  master
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  1  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+
Changes (by timgraham):

 * stage:  Ready for checkin => Accepted


--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.570d15615546f92cfb6d89bed9a9e0af%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #24361: The doc is not right w.r.t. LOGGING overwriting.

2015-03-22 Thread Django
#24361: The doc is not right w.r.t. LOGGING overwriting.
-+-
 Reporter:  Tuttle   |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Documentation|  Version:  master
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Ready for
 |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by phalt):

 * stage:  Accepted => Ready for checkin


Comment:

 Looks good and makes sense.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.2aeb224c9ce4bd6f3806c878eb6b4ba9%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #24361: The doc is not right w.r.t. LOGGING overwriting.

2015-03-21 Thread Django
#24361: The doc is not right w.r.t. LOGGING overwriting.
---+
 Reporter:  Tuttle |Owner:  nobody
 Type:  Bug|   Status:  new
Component:  Documentation  |  Version:  master
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  1  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+

Comment (by timgraham):

 I lightly edited your patch and
 [https://github.com/django/django/pull/4362 created a pull request] so
 others can offer their thoughts. I also [https://groups.google.com/d/topic
 /django-developers/no2IhnRty68/discussion posted to django-developers] to
 see if we can improve the state of logging in Django more generally.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.2ac6372369f34478dc68d63a9fdc2fe8%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #24361: The doc is not right w.r.t. LOGGING overwriting.

2015-03-07 Thread Django
#24361: The doc is not right w.r.t. LOGGING overwriting.
---+
 Reporter:  Tuttle |Owner:  nobody
 Type:  Bug|   Status:  new
Component:  Documentation  |  Version:  master
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  1  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+
Changes (by timgraham):

 * has_patch:  0 => 1


--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.77567a3a2a5e5acdfab2f98bd30e37f5%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #24361: The doc is not right w.r.t. LOGGING overwriting.

2015-02-18 Thread Django
#24361: The doc is not right w.r.t. LOGGING overwriting.
---+
 Reporter:  Tuttle |Owner:  nobody
 Type:  Bug|   Status:  new
Component:  Documentation  |  Version:  master
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+

Comment (by Tuttle):

 There is a neat module `logging_tree` by Brandon Rhodes on PyPi that can
 be of tremendous help during understanding of the actual logger tree.

 I don't know whether it could be considered to merge the module to Django,
 but what if I send a patch mentionting this module in the `logging.txt`
 doc?

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.bd9b0710ab0a018db1d6ac313bcddbcf%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #24361: The doc is not right w.r.t. LOGGING overwriting.

2015-02-18 Thread Django
#24361: The doc is not right w.r.t. LOGGING overwriting.
---+
 Reporter:  Tuttle |Owner:  nobody
 Type:  Bug|   Status:  new
Component:  Documentation  |  Version:  master
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+

Comment (by Tuttle):

 Thank you. Sending a draft.

 (Sorry, if the markup is wrong. ReST can compete with the logging module
 in opacity...)

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.ebc4b6fdfad229b364c5d4631efcaf7b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #24361: The doc is not right w.r.t. LOGGING overwriting.

2015-02-17 Thread Django
#24361: The doc is not right w.r.t. LOGGING overwriting.
---+
 Reporter:  Tuttle |Owner:  nobody
 Type:  Bug|   Status:  new
Component:  Documentation  |  Version:  master
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+
Changes (by timgraham):

 * needs_better_patch:   => 0
 * needs_docs:   => 0
 * needs_tests:   => 0
 * easy:  1 => 0
 * stage:  Unreviewed => Accepted


Comment:

 I'll be happy to review any patch you could draft. See also #23394 and
 #23784.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.49d1669d3adf8bcecddbe641789ffe32%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


[Django] #24361: The doc is not right w.r.t. LOGGING overwriting.

2015-02-17 Thread Django
#24361: The doc is not right w.r.t. LOGGING overwriting.
---+
 Reporter:  Tuttle |  Owner:  nobody
 Type:  Bug| Status:  new
Component:  Documentation  |Version:  master
 Severity:  Normal |   Keywords:
 Triage Stage:  Unreviewed |  Has patch:  0
Easy pickings:  1  |  UI/UX:  0
---+
 The https://github.com/django/django/blob/master/docs/topics/logging.txt
 says

 If the `disable_existing_loggers` key in the :setting:`LOGGING`
 dictConfig is set to `True` (which is the default) the default
 configuration is completely overridden.

 That is **not right** and it is pretty painful to trace down that the
 `django.request` and `django.security`, although disabled, don't propagate
 to the root logger even when `disable_existing_loggers` in my LOGGING is
 `True`. One would expect the disabling would allow the logger to propagate
 again.

 Many people apparently already ran into this.

 There are Stack Overflow questions and blog posts about this topic. Best
 of them I found is here: http://www.caktusgroup.com/blog/2015/01/27
 /Django-Logging-Configuration-logging_config-default-settings-logger/

 It suggests the working way to put to `settings` to **really erase the
 default logging**. I think it should definitely be stated in the doc.

 {{{
 LOGGING_CONFIG = None
 LOGGING = {...}  # whatever you want

 import logging.config
 logging.config.dictConfig(LOGGING)
 }}}

 The logging system is complex by itself, something it is not a pleasure to
 work with for many. The reset path eliminating the confusion would be most
 welcome.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/049.ac7728920b6e5ee6fcee3006ba86e69a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.