fix bug in process_oriented_logging
and add some secret key help to settings.py