Reading log4j and log4net logs.
C# Ruby Other
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ndesk-options-mirror @ d6b6f26
nuget
src
vagrant
.gitattributes
.gitignore
.gitmodules
.travis.yml
Gemfile
Gemfile.lock
README.md
Vagrantfile
appveyor.yml
rakefile.rb

README.md

Log4net-logviewer Build Status Build status

nuget package

Gui alternatives:

Note that you could use LogTail.exe to reformat an xml and then use LogParser on it.

I've spent a lot of time refactoring this project. Mostly the changes are to embrace the xaml way of life. I would guess that for most parts you would want to use Log2Console (a lot of positive comments on codeplex) or Chainsaw (I've used it for a while). The reason for using this project would mostly be for the command line tool.

Where does this come from?

Refactored version of logviewer.

CLI usage

I've also made a small console application LogTail.exe. Usage:

-f|file={a filename}

The file to watch, monitor or

-l|lines={tail x lines}	

Display the last x lines. Defaults to 10 lines.

-y|layout={pattern layout syntax as defined in log4net.Layout.PatternLayout}

For example: LogTail.exe logfile.xml -y="%date [%thread] %-5level %logger - %message%newline"

-h|?|help

Display help