1👍
Well, there is no a good way to do. But here is what we do when we need distinguish manage.py jenkins
from regular http requests:
Add to settings.py
import sys
JENKINS = "jenkins" in sys.argv
Then you can use that variable whenever you need. In the log filter as well.
Source:stackexchange.com