Chris,
I restrict now strong logging of database queries, which is anoying
with Django 1.3 for DEBUG log level, by adding a line to my
local_settings.py
logging.basicConfig(level=logging.DEBUG,... )
+logging.getLogger('django.db.backends').setLevel(logging.INFO)
logging.getLogger('keyedcache').setLevel(logging.INFO)
For new installations I wrote a patch.
On 19 lis, 17:27, Chris Moffitt <[email protected]> wrote:
> I would be interested as well to hear how Satchmo logging is used in
> different setups. To be honest, I haven't played with it recently but it
> does seem like the current logging is so verbose it's tough to use I
> haven't played around enough to figure out a right answer but would
> appreciate hearing what others are doing.
>
> -Chris
>
>
>
>
>
>
>
> On Sat, Nov 19, 2011 at 10:19 AM, hynekcer <[email protected]> wrote:
> > Hi all,
> > you know that Satchmo has by default logging to the file satchmo.log,
> > which is ferfect for development but not so for production.
>
> > WHAT USE YOU?
>
> > It is well known that with multiprocess deployment can be parts of the
> > log overwritten by other processes. [1] The conclusion there is "(any
> > recommendation) requires building consensus on the Django Developers
> > mailing list."
>
> > A problem is if we ask here for any not easy reproducible problem:
> > "Have you seen any (bla bla) message in the log?" and the answer is
> > "No one." The most people probably did not changed logging and only
> > added File Rotating. Has not been the only existing such message
> > overwritten?
>
> > I personally use an imperfect very simple short solution. (adding
> > process number to the filename - which should not be recommended)
> > There should be other solutions. I googled something [2] [3] but I am
> > not prepared to recommend anything to all.
>
> > [1]https://code.djangoproject.com/ticket/14625
> > [2]http://readthedocs.org/docs/django-logstream/
> > [3]http://fairviewcomputing.com/blog/2008/03/05/django-request-logging/
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Satchmo users" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected].
> > For more options, visit this group at
> >http://groups.google.com/group/satchmo-users?hl=en.
--
You received this message because you are subscribed to the Google Groups
"Satchmo users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/satchmo-users?hl=en.