Add a little bit more logging.
git-svn-id: http://bigbluebutton.googlecode.com/svn/trunk@820 af16638f-c34d-0410-8cfa-b39d5352b314
This commit is contained in:
parent
466244240f
commit
7cf501e4cd
@ -14,5 +14,6 @@
|
||||
<classpathentry excluding=".svn/*" kind="src" path="webapps/midiDemo/WEB-INF/src"/>
|
||||
<classpathentry excluding=".svn/*" kind="src" path="webapps/adminPanel/WEB-INF/src"/>
|
||||
<classpathentry kind="src" path="webapps/bwcheck/WEB-INF/src"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/red5"/>
|
||||
<classpathentry kind="output" path="bin"/>
|
||||
</classpath>
|
||||
|
@ -55,6 +55,9 @@
|
||||
<logger name="org.red5.server">
|
||||
<level value="WARN" />
|
||||
</logger>
|
||||
<logger name="org.red5.server.adapter">
|
||||
<level value="INFO" />
|
||||
</logger>
|
||||
<logger name="org.red5.server.Client">
|
||||
<level value="INFO" />
|
||||
</logger>
|
||||
|
@ -993,6 +993,7 @@ public class MultiThreadedApplicationAdapter extends StatefulScopeWrappingAdapte
|
||||
* Schedules new ghost connections cleanup using current cleanup period.
|
||||
*/
|
||||
public void scheduleGhostConnectionsCleanup() {
|
||||
log.info("Scheduling ghost connections cleanup.");
|
||||
IScheduledJob job = new IScheduledJob(){
|
||||
public void execute(ISchedulingService service) throws CloneNotSupportedException {
|
||||
killGhostConnections();
|
||||
@ -1028,6 +1029,7 @@ public class MultiThreadedApplicationAdapter extends StatefulScopeWrappingAdapte
|
||||
|
||||
// Time to live exceeded, disconnect
|
||||
if( conn.getLastPingTime() > clientTTL * 1000 ){
|
||||
log.warn("Killing ghost connection {}", conn);
|
||||
disconnect( conn, scope );
|
||||
}
|
||||
}
|
||||
|
@ -859,6 +859,7 @@ public abstract class RTMPConnection extends BaseConnection implements
|
||||
|
||||
/** {@inheritDoc} */
|
||||
public void ping() {
|
||||
log.info("Pinging client");
|
||||
long newPingTime = System.currentTimeMillis();
|
||||
if (lastPingSent == 0) {
|
||||
lastPongReceived = newPingTime;
|
||||
|
Loading…
Reference in New Issue
Block a user