fix import
This commit is contained in:
		
							
								
								
									
										2
									
								
								wsgi.py
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								wsgi.py
									
									
									
									
									
								
							@@ -15,7 +15,7 @@ if __name__ == '__main__':
 | 
				
			|||||||
        app.run(host='0.0.0.0')
 | 
					        app.run(host='0.0.0.0')
 | 
				
			||||||
else:
 | 
					else:
 | 
				
			||||||
    import logging
 | 
					    import logging
 | 
				
			||||||
    from loggin.handlers import RotatingFileHandler
 | 
					    from logging.handlers import RotatingFileHandler
 | 
				
			||||||
    gunicorn_logger = logging.getLogger('gunicorn.error')
 | 
					    gunicorn_logger = logging.getLogger('gunicorn.error')
 | 
				
			||||||
    app.logger.handlers = gunicorn_logger.handlers
 | 
					    app.logger.handlers = gunicorn_logger.handlers
 | 
				
			||||||
    file_handler = RotatingFileHandler('nexus_dashboard.log', maxBytes=1024 * 1024 * 100, backupCount=20)
 | 
					    file_handler = RotatingFileHandler('nexus_dashboard.log', maxBytes=1024 * 1024 * 100, backupCount=20)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user