Hi Amin,
Yes I do, that's what is very puzzling? I am following oflaDemo
exactly, what could I have missed to get log4j working for my webapps
applicaiton?
Hi Joseph,
I assume you have
log.debug("<some message>")
in your code and in log4j.properties
log4j.rootCategory=DEBUG, CONSOLE
?
Regards,
Amin
Hi,
I am trying to write up a tutorial on red5 shared objects so I can post it
for other new users (It would also help me figure out red5 SO better ;-) )
Here's where I've reached...
I am following the oflaDemo example to configure logging using log4j in my
webapps application. However, logging is not working.
The reason for logging is two-fold. Everytime I open a file, i get an error
saying that the file cannot be found. Thus, if by doing logging I could
print out all the files in that directory, Id have a clue as to which scope
I'm in, and therefore open the files relative to that scope.
For logging, I have added the following line to conf/log4j.properties
following the oflaDemo example:
#red5java
log4j.logger.org.red5.webapps.red5java=DEBUG
where red5java is the name of my application. Then in Application.java class
I retreive logger like this:
protected static Log log = LogFactory.getLog(Application.class.getName());
Application is the name of the class that is extending ApplicationAdapter.
What would I have to do to get this logging running? Logging would help me a
great deal to get this tutorial out and so I'd be very grateful for any
help. Thanks.
--
C is forever.
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org