[Red5] Res: logging

j d rr404 at hotmail.fr
Tue Jun 24 09:42:43 PDT 2008


Excuse me if i'm wrong but i'm not sure there is a 
 
Import org.slf4j.LoggerFactory; 
 
is there ? on Ubuntu red5  0.7.0  JAVA 5 ?
 
i use only:Import org.slf4j.Logger; on ubuntu i mean.
 
and then : protected static Logger log = Logger.getLogger (Application.class); 
 
it works fine for me


Date: Tue, 24 Jun 2008 09:14:06 -0700From: victor_brunetti at yahoo.com.brTo: red5 at osflash.orgSubject: [Red5] Res: logging



Excuse my English but I am using the google translator because I'm from Brazil In / Red5/webapps/name-app/WEB-INF/classes/logback.xml Locate and change <File> Log / name-app.log </ File> and / Red5/log / create a file Name-app.txt in your app add Import org.slf4j.Logger; Import org.slf4j.LoggerFactory; and after public class Application extends ... ( add protected static Logger log = LoggerFactory.getLogger (Application.class); ready. Now use log.info ( "Test log"); 
 

 
 
 
Victor Brunetti

----- Mensagem original ----De: Corin Langosch <corinl at gmx.de>Para: red5 at osflash.orgEnviadas: Terça-feira, 24 de Junho de 2008 12:46:03Assunto: [Red5] loggingHi!I'm running ubuntu hardy here and just downloaded the red5_0.7.0_all.deband installed it.As I'm having some problems with my first application I wonder where tofind any logfiles?I searched the whole partition but didn't find any.I also created a subdirectory /usr/lib/red5/log (0777) and restartetred5. Still no logfiles :(I searched the web, found some hints and so changed in theconf/logback.xml everything like DEBUG, WARN, INFO to ALL. Restart red5,no logfiles :(Any help would be really appreciated :)Corin_______________________________________________Red5 mailing listRed5 at osflash.orghttp://osflash.org/mailman/listinfo/red5_osflash.org

Novos endereços, o Yahoo! que você conhece. Crie um email novo com a sua cara @ymail.com ou @rocketmail.com.
_________________________________________________________________
Faites vous de nouveaux amis grâce à l'annuaire des profils Messenger !
http://home.services.spaces.live.com/search/?page=searchresults&ss=true&FormId=AdvPeopleSearch&form=SPXFRM&tp=3&sc=2&pg=0&Search.DisplayName=Nom+public&search.gender=&search.age=&Search.FirstName=Pr%C3%A9nom&Search.LastName=Nom&search.location=Lieu&search.occupation=Profession&search.interests=amis&submit=Rechercher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5_osflash.org/attachments/20080624/a634530b/attachment.html 


More information about the Red5 mailing list