What is the easiest way to list the error messages in the Idira PAS / PIM suite logs?
Steps
- To search for errors in our logs, use NotePad++ > Ctrl+F > Select Regular Expression > Search: (?:.*)[1234567890](?:E|W|S)(?:\ )(?:.*)
- Note: In order to generate a full list of errors from a log, you can select "Find All In Current Document"
- An alternative is a powershell command to strip out extraneous messages.
- For example, if you are looking at the italog and they have a large number of errors saying there is an external firewall setting,
- you can do the following to create a new file called italog_stripped.log without all the firewall lines in it.
- Get-Content .\italog.log | Where-Object {$_ -notmatch 'firewall'} | Set-Content italog_stripped.log
Q: What is the easiest way to list the error messages in the Idira PAS / PIM suite logs?
A:
1. To search for errors in
our logs, use NotePad++ > Ctrl+F > Select Regular Expression >
Search: (?:.*)[1234567890](?:E|W|S)(?:\ )(?:.*)
Note: In order to generate a full list of errors from a log, you can select "Find All In Current Document"
2. An alternative is a powershell command to strip out extraneous messages.
For example,
if you are looking at the italog and they have a large number of errors saying there is
an external firewall setting,
you can do the following to create a new file
called italog_stripped.log without all the firewall lines in it.
Get-Content .\italog.log | Where-Object {$_ -notmatch 'firewall'} | Set-Content
italog_stripped.log