How can I get timestamp in coturn log?

1,339 views
Skip to first unread message

Mike Jorden

unread,
Jan 30, 2017, 7:32:56 PM1/30/17
to TURN Server (Open-Source project)

When I use coturn and see coturn logs, I found there is no timestamp in logs.

Example:


576: IPv4. tcp or tls connected to: xxxxxx:58774


576: session 000000000000000068: realm <releam> user <>: incoming packet message processed, error 401: Unauthorized


576: IPv4. Local relay addr: xxxxx:53002


576: IPv4. Local reserved relay addr: x:53003xxxx


576: session 000000000000000068: new, realm=<releam>, usernamee=<x>, lifetime=777xxx


576: session 000000000000000068: realm <releam> user <x>: incoming packet ALLOCAxxTE processed, success


576: session 000000000000000068: refreshed, realm=<releam>, username=<x>, lifetime=777





Question:  
   1. How can I get timestamp in logs?
   2. there is setting flag in turnserver wiki? ( I didn't find flag)

Mihály Mészáros

unread,
Jan 31, 2017, 1:48:30 AM1/31/17
to Mike Jorden, TURN Server (Open-Source project)
Try to use syslog..

Misi

--
You received this message because you are subscribed to the Google Groups "TURN Server (Open-Source project)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to turn-server-project-rfc5766-turn-server+unsubscribe@googlegroups.com.
To post to this group, send email to turn-server-project-rfc5766-turn-...@googlegroups.com.
Visit this group at https://groups.google.com/group/turn-server-project-rfc5766-turn-server.
For more options, visit https://groups.google.com/d/optout.

Mike Jorden

unread,
Jan 31, 2017, 7:36:33 PM1/31/17
to TURN Server (Open-Source project)
I try your idea and get timestamp like this

Jan 31 23:58:45 ip-xx-x-x-xx turnserver: 35:...........


Thank you very much for your answer.


2017年1月31日火曜日 15時48分30秒 UTC+9 Mihály Mészáros:
Reply all
Reply to author
Forward
0 new messages