diagnose debug timestamp
Use this command to timestamp debug messages.
Syntax
diagnose debug timestamp {enable|disable}
Example
FortiADC-VM (root) # diagnose debug timestamp enable
FortiADC-VM (root) # 2016-01-11 18:10:03 [trace common]Destroy conntrack:protocol 1, In if 0 3.3.3.3:24104 -> 4.4.4.4:2048 Reverse:In if 0 4.4.4.4:24104 -> 3.3.3.3:0
2016-01-11 18:10:03 [trace id:13]recv a ip packet, MAC 00:0c:29:4d:fe:84 -> 00:0c:29:b2:41:f2 3.3.3.3 -> 4.4.4.4 iif port2 proto 1dent 0 flags 0x40 length 84 ttl 64
2016-01-11 18:10:03 [trace id:13]record reverse route info into session: iif port2 mac 00:0c:29:4d:fe:84
2016-01-11 18:10:03 [trace id:13]No session matched, create new session
2016-01-11 18:10:03 [trace common]tuple src 0x3030303 sport 0, dst 0x4040404 dport 0, proto
2016-01-11 18:10:03 [trace common]use dest address hash, len=1
2016-01-11 18:10:03 [trace common]iif 7 oif 0 tuple src 0x3030303 dst 0x4040404 proto 1 sport 0 dport 0
2016-01-11 18:10:03 [trace common]matched policy 1
2016-01-11 18:10:03 [trace common]llb route table id 4097
2016-01-11 18:10:03 [trace id:13]find input route interface port3 nexthop 1.1.1.1
2016-01-11 18:10:03 [trace id:13]ip output by if port3
2016-01-11 18:10:03 [trace id:13]DSTCACHE: save dst dir 0, nexthop 1.1.1.1 dev port3 filled into SESSION prot 1 [3.3.3.3:24106, 4.4.4.4:2048] -> [4.4.4.4:24106, 3.3.3.3:0]
2016-01-11 18:10:03 [trace id:13]Confirm conntrack:protocol 1, In if 0 3.3.3.3:24106 -> 4.4.4.4:2048 Reverse:In if 0 4.4.4.4:24106 -> 3.3.3.3:0
2016-01-11 18:10:03 [trace id:13]ip finish output2 nexthop by route 0x1010101 if port3
2016-01-11 18:10:03 [trace id:14]recv a ip packet, MAC 00:0c:29:44:93:be -> 00:0c:29:b2:41:fc 4.4.4.4 -> 3.3.3.3 iif port3 proto 1dent 6852 flags 0x0 length 84 ttl 63
2016-01-11 18:10:03 [trace id:14]Session found
2016-01-11 18:10:03 [trace id:14]find input route interface port2 nexthop 0.0.0.0
2016-01-11 18:10:03 [trace id:14]ip output by if port2
2016-01-11 18:10:03 [trace id:14]DSTCACHE: save dst dir 1, nexthop 0.0.0.0 dev port2 filled into SESSION prot 1 [3.3.3.3:24106, 4.4.4.4:2048] -> [4.4.4.4:24106, 3.3.3.3:0]
2016-01-11 18:10:03 [trace id:14]Transmit packet by reverse route, dev port2 dest mac 00:0c:29:4d:fe:84