I guess to answer my own question on point 3: Modify the file conf/log4j.properties under Demos for the oflaDemo specifically. Change from WARN to DEBUG.
On 12/13/06, joseph wamicha <[EMAIL PROTECTED]> wrote:
Hi, 1. I downloaded John Grden's cool sample player from the following link: http://www.rockonflash.com/red5/demos/samples/Red5Samples.zip Connection to rtmp://localhost/oflaDemo works ok, but when binding to the DataGrid after getMediaList function sets the ArrayCollection, nothing happens to the grid. The ArrayCollection I think has the object collected from demoService.getListOfAvailableFLVs in red5 server. It doesn't load the contents of the ArrayCollection ie binding does not seem to be working. This is in the file: FLVPlayer.mxml. What could possibly be wrong, could anyone please give me a pointer please; do I have to redraw the screen for the datagrid binding results to appear? I'm sorry for these questions but I'm very new to flex2. 2. John Grden's sample player is working with a logger called Xray. However, when I press SHIFT+L to see what it's log output is, nothing appears? What would I need to configure so I can see the log output after pressing SHIFT+L. 3. I'd also really like to see what's happening on the server end when the client connects to the oflademo. I therefore threw configs for the log4j.properties file inside: webapps/oflaDemo/WEB-INF/log4j.properties . Unfortunately, I do not see debug options being logged to the console. What could I be doing wrong? I'd really be grateful if someone could give me a pointer on how to do DEBUG log in red5 oflademo app. The following are the properties I've set: # logging config, this should be auto reloaded by spring. # Set root category priority to DEBUG and set its only appender to oflademo log4j.rootCategory=DEBUG, oflademo # A1 is set to be a ConsoleAppender (writes to system console). log4j.appender.oflademo=org.apache.log4j.ConsoleAppender # A1 uses PatternLayout. log4j.appender.oflademo.layout=org.apache.log4j.PatternLayout log4j.appender.oflademo.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n Thanks. Cheers, Wamicha. -- C is forever.
-- C is forever.
_______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
