< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

Re: [reSIProcate] how to use parameter of log::initialize in MFC


You need to change it to write to Log::File.

Log::initialize(Log::File, resip::Log::Warning, "Application Name",
"C:\toto.txt");

I actually have seen some win machines where I can't get files to
write, but haven't been able to figure out why, and haven't had the
time to dig into it too much.

Hope that helps.

--Dave

On 5/16/05, julien thai <julienresiprocate@xxxxxxxxx> wrote:
> Dear all, 
>   
> Can you show me how to use log::initialize in MFC application? 
> I use like below, is it right??? 
>   
> Log::initialize(Log::Cout, resip::Log::Warning, "c:\toto.txt"  ); 
>   
> The parameter of LogFileName is good or not?? 
>   
> I am appreciated so much for your help 
>   
> Julien 
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel
> 
> 


-- 
David Bryan
Please continue to send me email at the address bryan@xxxxxxxxxxxx