<p>here is the current kamailio log example.</p>
<h3>0(20) INFO: sipcapture [sipcapture.c:459]: parse_table_names(): INFO: table name:sip_capture</h3>
<p>0(20) ERROR: db_mysql [km_my_con.c:129]: db_mysql_new_connection(): driver error: Lost connection to MySQL server at 'waiting for initial communication packet', system error: 110 "Connection timed out"</p>
<p>could we add timestamp for printing log?<br>
example:<br>
0(20) <strong>### Y/M/D/H/M/S</strong> INFO: sipcapture [sipcapture.c:459]: parse_table_names(): INFO: table name:sip_capture<br>
0(20) ERROR: db_mysql [km_my_con.c:129]: db_mysql_new_connection(): driver error: Lost connection to MySQL server at 'waiting for initial communication packet', system error: 110 "Connection timed out"</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/1920">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36ZY9GwTaaIhXITrdVB0GERC4uq5Zcks5vc__KgaJpZM4cZaL4">mute the thread</a>.<img src="https://github.com/notifications/beacon/AF36Zfp4DzCTehyjp15RTr5B9Fe0muufks5vc__KgaJpZM4cZaL4.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/kamailio/kamailio","title":"kamailio/kamailio","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/kamailio/kamailio"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"How to add timestamp when kamailio dumps? (#1920)"}],"action":{"name":"View Issue","url":"https://github.com/kamailio/kamailio/issues/1920"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/1920",
"url": "https://github.com/kamailio/kamailio/issues/1920",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>