Aruno Johnson ([EMAIL PROTECTED]; Thursday, August 15, 2002 1:28 PM):
> Is there anyway to set the default directory for the log files? Yes, you can set the value for LOGSDIR in anlghead.h before you compile Analog. > I am running Analog 5.24 through anlgform.exe on Windows NT 4.0 with IIS > 4.0. Unless you are going to recompile Analog, the Windows version does not include any pre-defined LOGSDIR. > What I am really trying to do is let the user choose which log files > to include in the report without specifying exactly where the log files > are. I have the log files on the same drive as analog but the web site is > on a different drive. Something like this: > Web Site = g:\www > Analog = h:\analog524 > Logfiles = h:\logs > So through anlgform I have a check box like this: > <input type="checkbox" name="LOGFILE" value="/logs/anex0206.log" > > It doesn't matter which way I put the slashes or even use ../logs/anex0206.log > I still get this in my error log: > [Thu Aug 15 15:13:41 2002] g:\ANALOG~1\analog.exe: Warning F: Failed to open > logfile Logs/anex0207.log: ignoring it > This works: > <input type="checkbox" name="LOGFILE" value="g:/Logs/anex0206.log" > > But like I said I don't want to use the exact file address. > So I figure if I can just set a default directory for the log files I would > be okay. The best you could do is to put the log files into the current directory for the script. (Or a subdirectory of that.) Unfortunately, it's not always defined what the current directory is, but you might try putting log files in (or below) the directory where anlgform.exe is installed. -- Jeremy Wadsack Wadsack-Allen Digital Group +------------------------------------------------------------------------ | This is the analog-help mailing list. To unsubscribe from this | mailing list, go to | http://lists.isite.net/listgate/analog-help/unsubscribe.html | | List archives are available at | http://www.mail-archive.com/[email protected]/ | http://lists.isite.net/listgate/analog-help/archives/ | http://www.tallylist.com/archives/index.cfm/mlist.7 +------------------------------------------------------------------------
