Hi Morten, Define the log for your webapps application in either conf/log4j.properties. Copy the example for oflaDemo for example. Alternatively the better option would be to define your log4j properties within your very own WEB-INF folder (which would be the better option because it means you can deploy your red5 application from one environment to another without having it entangled to the core) ie webapps/WEB-INF/log4j.properties
The options defined will log to the console. To log to a file do: log4j.rootCategory=DEBUG, CONSOLE, FLOG Please consult the log4j docs for more details. Sorry I couldn't reply earlier; I meant: public class FanarchyJob extends ApplicationAdapter implements ..... Please look within red5 webapps directory for examples. I've posted a tutorial with more explanations on this url: http://jwamicha.wordpress.com/2007/01/29/create-a-new-java-red5-application/ It is based on Joachim's migration guide. I'm still trying to clean up code hopefully by week's end. the code should however still be able to give you some working code base and ideas.
Thanks for help =),
I dit check the red5 migration guide =) thanks.. however english is not my
best language. and my fcs/fms knolage is not "that" great ... where is the "log" stored ? ( as in where is it output ) added (Red5\lib\commons-logging.jar ) to project. import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; Morten -- C is forever.
_______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
