Manuel R.G. wrote:
> Try instead:
> log4j.appender.test2.File=../webapps/test2/red5.log
but I have to change webapps/test2/WEB-INF/log4j.properties file or
conf/log4j.properties file?
Daniela Remogna
> 2006/12/27, Daniela Remogna <[EMAIL PROTECTED]>:
>> Manuel R.G. wrote:
>>> Hi Daniela, try replacing this line:
>>>
>>> log4j.appender.test2=org.apache.log4j.ConsoleAppender
>>>
>>> with these:
>>>
>>> log4j.appender.test2=org.apache.log4j.RollingFileAppender
>>> log4j.appender.test2.File=red5.log
>>
>> Done! but it doesn't work.
>> Maybe I have to add something to conf/log4j.properties...
>> is it correct the code that I wrote on Application.java file?
>>
>> this is the content of Application.java:
>> .....
>> import org.apache.commons.logging.Log;
>> import org.apache.commons.logging.LogFactory;
>> .....
>> public class Application extends ApplicationAdapter{
>>
>> private static final Log log =
>> LogFactory.getLog(Application.class); ....
>> public boolean connect(IConnection conn, IScope room,
>> Object[] params){ log.info("Test2 Application
>> Started"); ....
>> return true;
>> }
>> }
>>
>>
>> Regards,
>> Daniela Remogna
>>
>> _______________________________________________
>> Red5 mailing list
>> [email protected]
>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>
>
> _______________________________________________
> Red5 mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/red5_osflash.org
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org