import sys
import os
from app import app as application

log_file = "/home/loyaltychoiceage/app.loyaltychoiceagency.com/error.log"
sys.stderr = open(log_file, "a")  # Redirects errors to error.log
