Logging Tip
Posted: 24.02.2013, 12:33
To get quickly the Errors/Warnings out of the download.log, proceed as follows
- download http://ferguson.home.xs4all.nl/freeware/filter50.zip and unzip it into \LOG
- create \LOG\logfilter.bat containing
- execute \LOG\logfilter.bat from the command-prompt
The result is \LOG\attention.log containing all errors and warnings
- download http://ferguson.home.xs4all.nl/freeware/filter50.zip and unzip it into \LOG
- create \LOG\logfilter.bat containing
- Code: Select all
@echo off
filter.exe <download.log >attention.tmp /G* " Error:"
filter.exe <download.log >>attention.tmp /G* " Warning:"
sort <attention.tmp >attention.log
del *.tmp /Q
- execute \LOG\logfilter.bat from the command-prompt
The result is \LOG\attention.log containing all errors and warnings