- 论坛徽章:
- 1
|
本帖最后由 Auroracxy 于 2016-05-05 18:32 编辑
只用正则表达式匹配
原日志的一行
<133>May 5 08:58:09 aa96e5a6e8db run-log: /usr/lib64/python2.7/site-packages/pymongo-3.2.2-py2.7-linux-x86_64.egg/pymongo/topology.py:75: UserWarning: MongoClient opened before fork. Create MongoClient with connect=False, or create client after forking. See PyMongo's documentation for details: http
匹配出后半部分
/usr/lib64/python2.7/site-packages/pymongo-3.2.2-py2.7-linux-x86_64.egg/pymongo/topology.py:75: UserWarning: MongoClient opened before fork. Create MongoClient with connect=False, or create client after forking. See PyMongo's documentation for details: http
只有"run-log: "是固定不变的 |
|