Re: Log file location issue

  • From: "Thomas W Shinder" <tshinder@xxxxxxxxxxxxxxxxxx>
  • To: "[ISAserver.org Discussion List]" <isalist@xxxxxxxxxxxxx>
  • Date: Fri, 4 Jul 2003 12:26:43 -0500

Hi Jim,

Thanks!
Tom

Thomas W Shinder 
www.isaserver.org/shinder 
ISA Server and Beyond: http://tinyurl.com/1jq1 
Configuring ISA Server: http://tinyurl.com/1llp 



-----Original Message-----
From: Jim Harrison [mailto:jim@xxxxxxxxxxxx] 
Sent: Friday, July 04, 2003 10:12 AM
To: [ISAserver.org Discussion List]
Subject: [isalist] Re: Log file location issue


http://www.ISAserver.org


The values referenced in the SDK are available for script in
CD:\sdk\inc\FpcCfg.vbs and FpcCfg.js

ISAInfo also makes use of that very set of properties (edited for
clarity):
  For Each Log in IsaArray.Logging
..do a few things

     Select Case Log.LogFileDirectoryType
      Case 0:
       wscript.echo vbTab & "   Path : " & Log.LogFileDirectory
      Case 1:
       wscript.echo vbTab & "   Path : %ISAInstallFolder%\ISALogs"
     End Select

..do a few other things
Next

I'll respond in the list, too

 Jim Harrison
 MCP(NT4, W2K), A+, Network+, PCG
 http://www.microsoft.com/isaserver
 http://isaserver.org/Jim_Harrison
 http://isatools.org

 Read the help, books and articles!
----- Original Message ----- 
From: "Thomas W Shinder" <tshinder@xxxxxxxxxxxxxxxxxx>
To: "[ISAserver.org Discussion List]" <isalist@xxxxxxxxxxxxx>
Sent: Friday, July 04, 2003 06:00
Subject: [isalist] Log file location issue


Alin Selicean
Senior Member
Member # 10851

Rate Member
<http://forums.isaserver.org/ultimatebb.cgi?ubb=get_profile;u=00010851>
  posted July 04, 2003 11:12 AM
<http://forums.isaserver.org/ultimatebb.cgi?ubb=get_profile;u=00010851>

<http://forums.isaserver.org/ultimatebb.cgi?ubb=private_message;u=000108
51>
<http://forums.isaserver.org/ultimatebb.cgi?ubb=edit_post;f=2;t=009655;r
eply_num=000002;u=00010851>
<http://forums.isaserver.org/ultimatebb.cgi?ubb=reply;f=2;t=009655;reply
to=000002>
  _____

Hi Tom

I found something that might be of interest.

As per http://support.microsoft.com/default.aspx?scid=kb;en-us;319301
<http://support.microsoft.com/default.aspx?scid=kb;en-us;319301>  which
is exactly my situation (I played once with various settings, but put
the defaults back), I started investigating using a VBS script my
settings.

Here comes the script I've used:

-- code snippet ----
Option Explicit

Dim objFPC, arrName, objFPCArray, arrLog, arrLogType, arrLogPath

Set objFPC = CreateObject("FPC.Root")
Set objFPCArray = objFPC.Arrays(1)
Set arrLog = objFPCArray.Logging(0)

arrName = objFPCArray.Name
arrLogType = arrLog.LogFileDirectoryType
arrLogPath = arrLog.LogFileDirectory

wscript.echo arrName & vbCRLF & "Logging to: " & arrLogPath & vbCrLf &
"Logging type: " & arrLogType
--- end of code snippet -----

The output says:
<servername>
Logging to: C:\Program Files\Microsoft ISA Server\ISALogs
Logging type: 1

I got stuck here. I didn't found the values for fpcFullPath and
fpcRelativePath, so I have no clues of what that 1 stands for. I can
only presume that it's fpcFullPath, considering the order in which these
are described in ISA SDK. The output seems to indicate that everythings
fine.

Where to from here ?

Thanks,

[ July 04, 2003, 11:56 AM: Message edited by: Alin Selicean ]

--------------------
Alin Selicean

  _____

Posts: 61 | From: Romania | Registered: Dec 2002  |  IP: Logged
<http://forums.isaserver.org/ultimatebb.cgi?ubb=get_ip;f=2;t=009655;repl
y_num=000002>

Thomas W Shinder
www.isaserver.org/shinder <http://www.isaserver.org/shinder>
ISA Server and Beyond: http://tinyurl.com/1jq1
Configuring ISA Server: http://tinyurl.com/1llp
<http://tinyurl.com/1llp>





------------------------------------------------------
List Archives: http://www.webelists.com/cgi/lyris.pl?enter=isalist
ISA Server Newsletter: http://www.isaserver.org/pages/newsletter.asp
ISA Server FAQ: http://www.isaserver.org/pages/larticle.asp?type=FAQ
------------------------------------------------------
Other Internet Software Marketing Sites:
Leading Network Software Directory: http://www.serverfiles.com
No.1 Exchange Server Resource Site: http://www.msexchange.org
Windows Security Resource Site: http://www.windowsecurity.com/
Network Security Library: http://www.secinf.net/
Windows 2000/NT Fax Solutions: http://www.ntfaxfaq.com
------------------------------------------------------
You are currently subscribed to this ISAserver.org Discussion List as:
tshinder@xxxxxxxxxxxxxxxxxx
To unsubscribe send a blank email to $subst('Email.Unsub')


Other related posts: