Hi ive tried to set the threshold of the log so i can just get the info
i need, as the exception just keeps filling up the log window, however
it doesnt seem to work at all, ive tried to set it to FATAL ?
log4j.rootLogger=FATAL, CAMS
log4j.appender.CAMS=org.apache.log4j.DailyRollingFileAppender
log4j.appender.CAMS.File=something.log
log4j.appender.CAMS.DatePattern='.'yyyy-MM-dd-HH
log4j.appender.CAMS.Threshold=FATAL
log4j.appender.CAMS.layout=org.apache.log4j.PatternLayout
log4j.appender.CAMS.layout.ConversionPattern=[%p] %r %t:( %c{1}.%M ) %m
%n
log4j.logger.org.red5.server.net.rtmp=INFO
log4j.logger.org.red5.server.net.rtmp.RTMPConnection=INFO
Steven Gong wrote:
It's a bug. Please report it on the Trac. Thanks. :-)
On 8/22/06, Dan Rossi <[EMAIL PROTECTED]>
wrote:
Hi there
it seems somehow with the latest trunk ive
been getting a heap of null pointer exceptions
[ERROR] 83100 DefaultQuartzScheduler_Worker-9:( ErrorLogger.error ) Job
(DEFAULT.ScheduledJob_2 threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception. [See
nested exception: java.lang.NullPointerException]
at org.quartz.core.JobRunShell.run(JobRunShell.java:214)
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
* Nested Exception (Underlying Cause) ---------------
java.lang.NullPointerException
at
org.red5.server.stream.StreamFlowController.adaptBandwidthForFlow(StreamFlowController.java:39)
at
org.red5.server.stream.PlaylistSubscriberStream$PlayEngine$2.execute(PlaylistSubscriberStream.java:766)
at
org.red5.server.scheduling.QuartzSchedulingServiceJob.execute(QuartzSchedulingServiceJob.java:42)
at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
Here is my demo app
public class VODApplication extends ApplicationAdapter
{
private IScope appScope;
private static final Log log =
LogFactory.getLog(VODApplication.class);
@Override
public boolean appStart(IScope app) {
appScope = app;
return true;
}
@Override
public boolean appConnect(IConnection conn, Object[] params) {
/*
SimpleBandwidthConfigure sbc = new
SimpleBandwidthConfigure();
sbc.setMaxBurst(8*1024*1024);
sbc.setBurst(8*1024*1024);
sbc.setOverallBandwidth(2*1024*1024);
streamConn.setBandwidthConfigure(sbc);
*/
//}
appScope = conn.getScope();
log.info("Context Path: " + appScope.getContextPath());
log.info("Name: " + appScope.getName());
return super.appConnect(conn, params);
}
@Override
public boolean appJoin(IClient client, IScope scope) {
log.info("Client joined app " + client.getId() + " at time " +
client.getCreationTime());
// If you need the connecion object you can access it via.
//IConnection conn = Red5.getConnectionLocal();
return true;
}
}
What could be the issue ?
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org
--
Best Regards
Steven Gong
|
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org