Login | |
|
 |
RE: Time Stamp on Log file - 5/5/2008 1:27:37 AM
|
|
 |
|
| |
ebgreen
Posts: 4408
Score: 29
Joined: 7/12/2005
Status: offline
|
Ok, so all you need to do is as you are parsing the log, look for dates. Whenever you find one store it in a variable. THen when you find the error just stick that variable on the end of the line that you write.
_____________________________
"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm http://www.visualbasicscript.com/m_47117/tm.htm
|
|
| |
|
|
|
 |
RE: Time Stamp on Log file - 5/6/2008 1:37:35 AM
|
|
 |
|
| |
ebgreen
Posts: 4408
Score: 29
Joined: 7/12/2005
Status: offline
|
The :??? ??/??/???? is simply giving an initial value for the variable. Then the variable should be subsequently populated by dates that it finds in the file. If you are getting :??? ??/??/???? in your output then I suspect the regex pattern needs to be tweaked a little.
_____________________________
"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm http://www.visualbasicscript.com/m_47117/tm.htm
|
|
| |
|
|
|
| |
|
|
 |
|
 |
|
|