[reSIProcate] Logger in Visual Studio

Scott Godin slgodin at icescape.com
Sun Apr 24 07:10:45 CDT 2005


It works fine for me, in windows.  Maybe try a full path.

Scott

-----Original Message-----
From: David A. Bryan [mailto:davidbryan at gmail.com] 
Sent: Saturday, April 23, 2005 11:58 PM
To: reSIProcate
Subject: [reSIProcate] Logger in Visual Studio

I have a question about the behavior of the Log::initialize (well, and
the logger in general) under Windows.

I have an application that opens a file to redirect the log messages
under OSX. It looks like:

Log::initialize(Log::file, (resip::Log::Level)loglevel, "appname",
"log.log");

where loglevel is a variable with the level in it.

This works great under OSX -- I can redirect my logging to log.log. I
want to do this under windows, partially because since I have a GUI
app there, I can't see the stdout anyway. The code compiles and runs
on both platforms, but while it works as expected on mac, I get no
file under windows. I don't get any sort of error either -- it just
doesn't create the log file.

Any suggestions from the windows folks out there? I just want to be
able to use the resip logger and get the output from my GUI program in
a file somehow.

Thanks! 

--Dave

-- 
David Bryan
Please continue to send me email at the address bryan at ethernot.org
_______________________________________________
resiprocate-devel mailing list
resiprocate-devel at list.sipfoundry.org
https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel



More information about the resiprocate-devel mailing list