2013-12-21 111 views
2

我已經安裝開源TURN服務器(rfc5766 - 轉角 - 服務器),我運行使用下面的命令 sudo turnserver -L my.domain.in -a -b /usr/local/etc/turnuserdb.conf -f -r domain.in如何檢查TURN服務器日誌?

這是輸出I在終端得到它,

RFC 3489/5389/5766/5780/6062/6156 STUN/TURN Server 
Version Citrix-3.1.5.0 'Arch Lector' 
0: 

==== Show them the instruments, Practical Frost: ==== 

0: TLS supported 
0: DTLS supported 
0: Redis is not supported 
0: PostgreSQL is not supported 
0: MySQL is not supported 
0: OpenSSL version: fresh enough 
0: TURN Network Engine version: 2.5 

===================================================== 

0: Config file found: /usr/local/etc/turnserver.conf 
0: ERROR: Cannot add a listener address: qeee.rtbi.in 
0: Config file found: /usr/local/etc/turnserver.conf 
0: 
CONFIG: --no-udp-relay: UDP relay endpoints are not allowed. 
0: ===========Discovering listener addresses: ========= 
0: Listener address to use: 127.0.0.1 
0: Listener address to use: 10.7.3.129 
0: Listener address to use: 203.134.253.129 
0: Listener address to use: 10.0.0.1 
0: Listener address to use: ::1 
0: ===================================================== 
0: ===========Discovering relay addresses: ============= 
0: Relay address to use: 10.7.3.129 
0: Relay address to use: 10.0.0.1 
0: ===================================================== 
0: pid file created: /var/run/turnserver.pid 
0: IO method (main listener thread): epoll 
0: IO method (general relay thread): epoll 
0: IO method (general relay thread): epoll 
0: IPv4. TCP listener opened on : 127.0.0.1:49500 
0: turn server id=2 created 
0: IPv4. TCP listener opened on : 127.0.0.1:49501 
0: IO method (general relay thread): epoll 
0: IPv4. TCP listener opened on : 10.7.3.129:49500 
0: turn server id=0 created 
0: IPv4. TCP listener opened on : 10.7.3.129:49501 
0: turn server id=3 created 
0: IPv4. TCP listener opened on : 203.134.253.129:49500 
0: IPv4. TCP listener opened on : 203.134.253.129:49501 
0: IPv4. TCP listener opened on : 10.0.0.1:49500 
0: IPv4. TCP listener opened on : 10.0.0.1:49501 
0: IPv6. TCP listener opened on : ::1:49500 
0: IPv6. TCP listener opened on : ::1:49501 
0: IO method (auth thread): epoll 
0: IO method (general relay thread): epoll 
0: IO method (cli thread): epoll 
0: turn server id=1 created 
0: IPv4. CLI listener opened on : 127.0.0.1:5766` 

當客戶端已連接或正在使用此TURN服務器,我是否可以在我的終端或其他地方獲取任何日誌?

+0

你實際上應該張貼此消息給rfc5766-TURN-服務器的郵件列表。代碼的作者,其他一些有幫助的人(偶爾也是我)很快就會回答。 – selbie

+0

有幾天後突然工作! – Mano

+1

你是如何得到它的工作? –

回答

1

日誌的默認路徑似乎是:

/var/log/turn_*.log