Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pulling out last 1000 entries in a log
Message
From
17/11/2014 12:27:55
Al Doman (Online)
M3 Enterprises Inc.
North Vancouver, British Columbia, Canada
 
 
To
17/11/2014 10:16:58
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01611095
Message ID:
01611105
Views:
43
>Has someone ever done some code to pull out recent entries from a Windows Event Viewer log? That would be on a Windows Server 2008. We are looking for additonal support as once deployed, we do not have much access to analyze those logs so if we could pull that out directly from the Web application, that would be useful.
>
>I have done a lot of things with Event Viewer log in my framework. But, this is not support I currently have right now. I am looking to add that support. Before doing too far in that direction, I thought I would create a thread to see if someone already did that and things to consider.

Just as general information, in Linux there is the "tail" command.

For Windows you can Google [tail command windows]

This is primarily aimed at text log files rather than something like Windows Event Logs, but if you've already pulled log entries into some other format it might give you some ideas.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform