Is it possible to view 'print' statement output which are embedded inside of a function of the backend views files? No matter what I try i can't see them in the runserver terminal console.
DEBUG = True
LOGGING = {
'version': 1,
'disable_existing_loggers': False,
'handlers': {
'console': {
'class': 'logging.StreamHandler',
'formatter': 'verbose',
},
'file': {
'class': 'logging.FileHandler',
'filename': 'debug.log',
'formatter': 'verbose',
},
},
'formatters': {
'verbose': {
'format': '{asctime} {levelname} {name} {message}',
'style': '{',
},
},
'root': {
'handlers': ['file'],
'level': 'WARNING',
},
'loggers': {
'django': {
'handlers': ['console', 'file'],
'level': 'ERROR',
'propagate': False,
},
'app_backend': {
'handlers': ['console', 'file'],
'level': 'DEBUG',
'propagate': False,
},
},
}