- 论坛徽章:
- 0
|
数据库日志中的错误信息一般如下:
00:00000:00008:2002/09/08 03:31:06.34 server Error: 7215, Severity: 18
00:00000:00008:2002/09/08 03:31:06.34 server Can't send to site 'SYB_BACKUP'.
00:00000:00011:2003/01/17 16:41:13.88 server Error: 1608, Severity: 18, State:
00:00000:00010:2003/01/17 16:41:13.88 server A client process exited abnormally
, or a network error was encountered. Unless other errors occurred, continue pro
cessing normally.
00:00000:00013:2003/01/17 16:41:13.89 server Error: 1608, Severity: 18, State:
00:00000:00013:2003/01/17 16:41:13.89 server A client process exited abnormally
, or a network error was encountered. Unless other errors occurred, continue pro
cessing normally.
即打印错误号和严重级别后,下面一行是对上一行错误信息的详细描述。现在要对错误严重程度(Severity)大于18的日志过滤出来,同时把下面的描述也列出来,有什么简单的方法吗? |
|