yf_yzl 2 سال پیش
والد
کامیت
0943c45206
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      apps/Weather/views.py

+ 1 - 1
apps/Weather/views.py

@@ -41,7 +41,7 @@ province_dict = {
 
 
 
-logging.basicConfig(level=logging.DEBUG, filename='/data/logs/app.log', filemode='w',
+logging.basicConfig(level=logging.DEBUG, filename='/data/logs/weather.log', filemode='w',
                     format='%(asctime)s - %(levelname)s - %(message)s')
 
 class GetWeather(APIView):