摘要:
代码 coding: utf 8 import psutil 获取网卡名称和其ip地址,不包括回环 def get_netcard(): netcard_info = [] info = psutil.net_if_addrs() for k,v in info.items(): for item 阅读全文
摘要:
gunicorn配置文件为gunicorn_config.py里面有日志的配置 errorlog = '/home/admin/output/erebus/logs/gunicorn_error.log' loglevel = 'info' loglevel = 'debug' accesslog 阅读全文