logging problem ?

Neeraj Korde <[email protected]> Tue, 6 Apr 2004 17:44:27 -0400 (EDT)
Newsgroups gmane.comp.gcc.cgicc.general
Message-ID <[email protected]>
hi,
how do i log. i tried the way in main.cpp in doc. at the top of my
main.cpp i put in

#define DEBUG 1
#if DEBUG
ofstream gLogFile("/home/blah/blah/cgicc.log",std::ios::app);//also tried
gLogFile("cgicc.log", ios::app)
#endif
main()
{
.
.
assert(gLogFile);//gives internal server error!
}

Could not find the file cgicc.log anywhere on the pc.
Thanks,
Neeraj Korde
======================
Graduate Student
Mechanical Engineering
University of Michigan
======================