[sr-dev] [kamailio/kamailio] How to add timestamp when kamailio dumps? (#1920)

sergey-safarov notifications at github.com
Wed Apr 3 03:51:30 CEST 2019


As workarroud you can start kamailio (or docker container) as service unit. Then systemd logs will contain timestamp.
Example
```log
[root at node0 ~]# journalctl -flu kamailio-docker
-- Logs begin at Mon 2019-04-01 00:27:18 GMT. --
Apr 03 01:50:11 node0.docker.rcsnet.ru sh[17746]: 68(76) INFO: <script>: 6F3E-C434-46684819C4E9AF592AFC-001 at SipHost|log|from sip:1471 at client-1143.rcsnet.ru
Apr 03 01:50:11 node0.docker.rcsnet.ru sh[17746]: 68(76) INFO: <script>: 6F3E-C434-46684819C4E9AF592AFC-001 at SipHost|log|to sip:1471 at client-1143.rcsnet.ru
Apr 03 01:50:11 node0.docker.rcsnet.ru sh[17746]: 68(76) INFO: <script>: 6F3E-C434-46684819C4E9AF592AFC-001 at SipHost|log|originated from external sources
Apr 03 01:50:11 node0.docker.rcsnet.ru sh[17746]: 68(76) INFO: <script>: 6F3E-C434-46684819C4E9AF592AFC-001 at SipHost|end|issued auth challenge to new registration for sip:1471 at client-1143.rcsnet.ru 94.45.179.35:5060
Apr 03 01:50:11 node0.docker.rcsnet.ru sh[17746]: 62(70) INFO: <script>: 6F3E-C434-46684819C4E9AF592AFC-001 at SipHost|start|received udp request REGISTER sip:client-1143.rcsnet.ru:5060
``` 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1920#issuecomment-479294009
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20190402/43f51b88/attachment-0001.html>


More information about the sr-dev mailing list