Back to home page

Enduro/X

 
 

    


0001 UVLOG(8)
0002 ========
0003 :doctype: manpage
0004 
0005 
0006 NAME
0007 ----
0008 uvlog - Ultra Vision LOG viewer
0009 
0010 
0011 SYNOPSIS
0012 --------
0013 *uvlog* [filename]...
0014 
0015 
0016 DESCRIPTION
0017 -----------
0018 This is perl scrip which reads the multiple log files. Does open then and merge
0019 the output lines chronologically between all files. The time stamp used for output
0020 merging is standard Enduro/X logging format. The lines which do not start with
0021 the Enduro/X format, are joined to the last matched line. The joined log is
0022 printed to *stdout* and the debug of the *uvlog* it self is printed to *stderr*.
0023 
0024 For example assume *file1.log* is following:
0025 
0026 --------------------------------------------------------------------------------
0027 m:NDRX:5:31720:7f8eba996700:006:20170711:122923293:autils.c:0385:Serialized xid: [YZT3oRAFXaXhDxTvSQy6R7a5gY5zwQEBADIA]
0028 m:NDRX:5:31720:7f8eba996700:006:20170711:122923293:/tmapi.c:0286:TX tout: 60
0029 m:NDRX:3:31720:7f8eba996700:006:20170711:122923294:perror.c:0392:atmi_xa_set_error_msg: 0 (TPMINVAL) [Success]
0030 m:NDRX:4:31720:7f8eba996700:006:20170711:122923294:/utils.c:0220:TPTMSRV return buffer:
0031 TMNODEID        1
0032 TMRMID  1
0033 TMSRVID 50
0034 TMERR_CODE      0
0035 --------------------------------------------------------------------------------
0036 
0037 And *file2.log* is following:
0038 
0039 --------------------------------------------------------------------------------
0040 m:NDRX:5:31720:7f8ebdb897c0:000:20170711:122923293:ed_buf.c:0252:_tpalloc: type=NULL len=120 allocated=0x1caadc0
0041 m:NDRX:5:31720:7f8ebdb897c0:000:20170711:122923293:spatch.c:0292:Buffer=0x1caadc0 autoalloc=1
0042 m:NDRX:5:31720:7f8ebdb897c0:000:20170711:122923293:verapi.c:0315:tpsrvgetctxdata: returning 0x1cab090 (last call cd: 16382)
0043 m:NDRX:5:31720:7f8ebdb897c0:000:20170711:122923293:return.c:0557:Long jumping to continue!
0044 m:NDRX:5:31720:7f8ebdb897c0:000:20170711:122923293:spatch.c:0438:Got back from reply/forward (16)
0045 --------------------------------------------------------------------------------
0046 
0047 The joined output is acquired in following way:
0048 
0049 --------------------------------------------------------------------------------
0050 $ uvlog file1.log file2.log  2>/dev/null
0051 000.000|file1.log     |m:NDRX:5:31720:7f8eba996700:006:20170711:122923293:autils.c:0385:Serialized xid: [YZT3oRAFXaXhDxTvSQy6R7a5gY5zwQEBADIA]
0052 000.000|file1.log     |m:NDRX:5:31720:7f8eba996700:006:20170711:122923293:/tmapi.c:0286:TX tout: 60
0053 000.000|file2.log     |m:NDRX:5:31720:7f8ebdb897c0:000:20170711:122923293:ed_buf.c:0252:_tpalloc: type=NULL len=120 allocated=0x1caadc0
0054 000.000|file2.log     |m:NDRX:5:31720:7f8ebdb897c0:000:20170711:122923293:spatch.c:0292:Buffer=0x1caadc0 autoalloc=1
0055 000.000|file2.log     |m:NDRX:5:31720:7f8ebdb897c0:000:20170711:122923293:verapi.c:0315:tpsrvgetctxdata: returning 0x1cab090 (last call cd: 16382)
0056 000.000|file2.log     |m:NDRX:5:31720:7f8ebdb897c0:000:20170711:122923293:return.c:0557:Long jumping to continue!
0057 000.000|file2.log     |m:NDRX:5:31720:7f8ebdb897c0:000:20170711:122923293:spatch.c:0438:Got back from reply/forward (16)
0058 000.001|file1.log     |m:NDRX:3:31720:7f8eba996700:006:20170711:122923294:perror.c:0392:atmi_xa_set_error_msg: 0 (TPMINVAL) [Success]
0059 000.000|file1.log     |m:NDRX:4:31720:7f8eba996700:006:20170711:122923294:/utils.c:0220:TPTMSRV return buffer:
0060 000.000|file1.log     |TMNODEID        1
0061 000.000|file1.log     |TMRMID  1
0062 000.000|file1.log     |TMSRVID 50
0063 000.000|file1.log     |TMERR_CODE      0
0064 --------------------------------------------------------------------------------
0065 
0066 The first column of the output contains time difference between previous and
0067 current line.
0068 
0069 
0070 EXIT STATUS
0071 -----------
0072 *0*::
0073 Success
0074 
0075 *1*::
0076 Failure
0077 
0078 BUGS
0079 ----
0080 Report bugs to support@mavimax.com
0081 
0082 SEE ALSO
0083 --------
0084 *tplog(3)*, *ex_overview(guides)*
0085 
0086 COPYING
0087 -------
0088 (C) Mavimax, ltd.
0089