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

Re: [reSIProcate] Logger in Visual Studio


This will require some more research. It doesn't work even with a full
path, and I did a find on the entire disk -- no output is produced,
I'm quite certain. No errors are produced either. I've stepped through
with a debugger and am certain that the logger is being called with
the log file argument. I haven't had time to deep debug and see what
happens in the actual calls to log the data.

I'll let people know what I find. Very odd.

--David


On 4/24/05, Fischl jason <jason.fischl@xxxxxxxxx> wrote:
> Yes. It works fine for me as well. I suspect you aren't looking in the
> right directory.
> 
> 
> On 4/24/05, Scott Godin <slgodin@xxxxxxxxxxxx> wrote:
> > It works fine for me, in windows.  Maybe try a full path.
> >
> > Scott
> >
> > -----Original Message-----
> > From: David A. Bryan [mailto:davidbryan@xxxxxxxxx]
> > 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@xxxxxxxxxxxx
> > _______________________________________________
> > resiprocate-devel mailing list
> > resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> > https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel
> > _______________________________________________
> > 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