Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

Importing Logs into a mssql db (maybe a bug?)

$
0
0

 Hello,

 i'm using a VBS-Script which looks in a folder and checks for new files. If a new file is detected the logparser will parse it and import it in a mssql database. For most of the times it's working like it should, but then on a rare occasion the logparser wont parse the logs. I had a look into it and i can reproduce the error.

 

 For example i have the following log file:

2012-11-13 20:07:34 PLACEHOLDER_A

2012-11-13 20:07:34 PLACEHOLDER_B

2012-11-13 20:07:34 PLACEHOLDER_C

 

Then the logparser crashes and i have to fix the log file manually:

2012-11-13 20:07:34 PLACEHOLDER_C

2012-11-13 20:07:34 PLACEHOLDER_B

2012-11-13 20:07:34 PLACEHOLDER_A

The log file above is working and will be imported like it should be in the first place. 

 

I just changed the position of the log entries but nothing else -> the log entries itself are valid, so is the database table.

 

I'm totaly helpless and i have no clue on how to fix it.

 

With best regards,

Kenjin

 

 

 


 

 

 


Viewing all articles
Browse latest Browse all 27852

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>