Issue with relog and restriting time and date range

Dec 15, 2010 at 11:07 PM

HI, im using Pal v2.0.5 and when i try to restric the time and date of a counter log fiel it give the following errors, if anyone has any ideas how I can fix then then it would be appreciated.

Transcript started, output file is C:\Users\nick\AppData\Local\Temp\PAL.log
PAL v2.0.5 (http://www.codeplex.com/PAL)
Written by: Clint Huffman (clinth@microsoft.com) and other contributors.
Last Modified: 09/30/2010 01:34:30
The information and actions by this tool is provided "as is" and is intended for
 information purposes only. The authors and contributors of this tool take no re
sponsibility for damages or losses incurred by use of this tool.

SCRIPT ARGUMENTS:
-Log C:\Users\nick\Desktop\BlackBox_LNVMIAPP64_11191517.blg
-ThresholdFile C:\Program Files\PAL\PAL v2.0.5\QuickSystemOverview.xml
-Interval 3600
-OutputDir [My Documents]\PAL Reports
-IsOutputHtml True
-HtmlOutputFileName [LogFileName]_PAL_ANALYSIS_[DateTimeStamp].htm
-AllCounterStats False
-IsOutputXml False
-XmlOutputFileName [LogFileName]_PAL_ANALYSIS_[DateTimeStamp].xml
-BeginTime 24/11/2010 00:01:50
-EndTime 26/11/2010 23:59:57


Creating session working directory...
Creating directory "C:\Users\nick\AppData\Local\Temp\{b1bf127e-7536-41da-b91b-0c
705f47f34d}"
Creating file "C:\Users\nick\Documents\PAL Reports\BlackBox_LNVMIAPP64_11191517_
PAL_ANALYSIS_2010-12-15_22-59-00.htm"
Creating directory "C:\Users\nick\Documents\PAL Reports\BlackBox_LNVMIAPP64_1119
1517_PAL_ANALYSIS_2010-12-15_22-59-00\"

Threshold File Load History:
C:\Program Files\PAL\PAL v2.0.5\QuickSystemOverview.xml

Generating the counter list to filter on...Done
Removing duplicate counter expressions from counter list...Done

relog.exe "C:\Users\nick\Desktop\BlackBox_LNVMIAPP64_11191517.blg" -cf "C:\Users
\nick\AppData\Local\Temp\{b1bf127e-7536-41da-b91b-0c705f47f34d}\CounterListFilte
r.txt" -f csv -o "C:\Users\nick\AppData\Local\Temp\{b1bf127e-7536-41da-b91b-0c70
5f47f34d}\_FilteredPerfmonLog.csv" -y -b "11/24/2010 00:01:50" -e "11/26/2010 23
:59:57"
Invalid syntax: -b <dd/MM/yyyy HH:mm:ss[AM|PM]>
Invalid syntax: -e <dd/MM/yyyy HH:mm:ss[AM|PM]>
The syntax of the command is incorrect.
MergeConvertFilterPerfmonLogs : [MergeConvertFilterPerfmonLogs] ERROR: Unable t
o find the converted log file:"C:\Users\nick\AppData\Local\Temp\{b1bf127e-7536-
41da-b91b-0c705f47f34d}\_FilteredPerfmonLog.csv"
At C:\Program Files\PAL\PAL v2.0.5\PAL.ps1:4970 char:38
+         MergeConvertFilterPerfmonLogs <<<<  -sPerfmonLogPaths $Log -BeginTime
 $global:BeginTime -EndTime $global:EndTime
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorExcep
   tion
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorExceptio
   n,MergeConvertFilterPerfmonLogs

MergeConvertFilterPerfmonLogs : Relog.exe failed to process the log. Review the
 results above this line. If relog.exe continues to fail, then try running Relo
g.exe manually and/or contact Microsoft Customer Support Servers for support on
 Relog.exe only. PAL is not supported by Microsoft.
At C:\Program Files\PAL\PAL v2.0.5\PAL.ps1:4970 char:38
+         MergeConvertFilterPerfmonLogs <<<<  -sPerfmonLogPaths $Log -BeginTime
 $global:BeginTime -EndTime $global:EndTime
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorExcep
   tion
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorExceptio
   n,MergeConvertFilterPerfmonLogs


C:\Program Files\PAL\PAL v2.0.5>




































































Coordinator
Dec 16, 2010 at 9:17 PM

This is an issue with Relog.exe. Relog.exe (part of the operating system) is expecting the date time to be in English US format MM/DD/YYYY. Change the BeginTime and EndTime parameters to be in MM/DD/YYYY and it should work.

Dec 16, 2010 at 11:00 PM

Hi

This is a little odd as Clint says i've only ever seen a relog that accepts MM/DD/YYYY but it looks like you have one that wants DD/MM/YYYY can you run relog /? and post the output so i can take a look

JonG

Dec 17, 2010 at 9:21 AM

Hi

Bit more digging looks like WinXP version of relog wants MM/DD/YYYY but Win7 and Win2008 will accept DD/MM/YYYY if you have a UK date setting I'll take a look at the code and may add some checking to figure out what format relog wants before we build the command. Once I'm done I'll Clint have the changes so he can publish them.

JonG

Dec 17, 2010 at 1:41 PM

Thanks for the reply on this

Nick M


This message contains information which may be confidential and/or privileged. Unless you are the intended recipient (or authorized to receive for the intended recipient), you may not read, use, copy or disclose to anyone the message or any information contained in the message. If you have received the message in error, please advise the sender by reply e-mail and delete the message and any attachment(s) thereto without retaining any copies.