RamblingRoss

The blog of Ross Fruen, a .NET consultant

PowerShell provides the ability to easily import log4net files into a SQL database for analysis.

Step one

Create an appropriate table to store the log entries, e.g.

CREATE TABLE [dbo].[Entries](
 [LogEntry] [int] IDENTITY(1,1) NOT NULL,
 [LogFile] [varchar](max) NULL,
 [LogTime] [datetime] NUL...