Re: Django-Logging Problem..

2009-03-26 Thread caliman

do you have INTERNAL_IPS set in yout settings file?

if your on localhost you probably need:

INTERNAL_IPS = ('127.0.0.1',)

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Django-Logging Problem..

2009-03-07 Thread Harish

Hi Everybody...

I am trying out the Django-logging Middleware  for my application.

I am using Ubuntu as an OS, with Python Version 2.5 and Django Version
0.97-pre-SVN-7049.

I just tried the way they specified in the following link
http://code.google.com/p/django-logging/wiki/Overview

This is my settings snippet
MIDDLEWARE_CLASSES = (
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.middleware.doc.XViewMiddleware',
'django.middleware.transaction.TransactionMiddleware',
'djangologging.middleware.LoggingMiddleware',
 
'djangologging.middleware.SuppressLoggingOnAjaxRequestsMiddleware',
)

LOGGING_OUTPUT_ENABLED=True
LOGGING_LOG_SQL=True
LOGGING_SHOW_METRICS=True
LOGGING_REWRITE_CONTENT_TYPES =True


The problem I am facing is that... It gives a Log-in information at
the end of the page but The Log message says  "Request Log No log
entries."  (In spite of using  LOGGING_SHOW_METRICS=True )

I already set the LOGGING_OUTPUT_ENABLED =True; and
LOGGING_OUTPUT_ENABLED = True.

Is there anything wrong in my above step


Regards
Harish Bhat


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



FYI: django-logging problem with latest dev version of Django (patch info included)

2007-07-26 Thread keithb

Using the latest Django revision (anything after the Unicode branch
merge), if a view returns a page with any non-ASCII characters, you'll
get an error in django-logging when it tries to rewrite the page.

For more info and a patch, check out the django-logging ticket:

http://code.google.com/p/django-logging/issues/detail?id=5

-keithb


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---