Thank You Mr. Russell Keith-Magee.
I want to log other details regarding the application. So I selected the
django logging.
LOG_URL = '/var/log/Crime_Mapping/'
import logging
class CustomQueryFilter(logging.Filter):
def filter(self, record):
for action in ['INSERT', 'UPDATE',
Hi Anju,
Firstly - if you want to filter log messages that meet a specific
criterion, you can install a filter into your logging configuration. Python
and Django's logging documentation both contain sections about filtering:
http://docs.python.org/2/library/logging.html#filter-objects
https://doc
2 matches
Mail list logo