
Philippebfr
Hi to all !
When i try to use LOG VIEWER (Batch file LogViewer under E:\Program Files (x86)\AlarmPointSystems\AlarmPoint) I can't Open a File in the viewer:
When i try to open a log (under E:\Program Files (x86)\AlarmPointSystems\AlarmPoint\logs) window shows...
"Loaded 0 events"
with AlarmPoint_gsm.txt
"Error parsing file - The content of elements must consist of well-formed character data or markup"
with AlarmPoint.txt
Can someone help me ?
Philippe
0
Comments
Please sign in to leave a comment.
with AlarmPoint.err.log :
"Error Parsing file - The reference to entity "network" must end with the ";" delimiter.
Help !
Philippe,
Do you know what version of AlarmPoint this is?
It could be an older log parser that is looking for the .xml logs that we would often write as well. the .txt logs were designed to be somewhat human readable, where the .xml logs were to be read by something like Chainsaw. I am looking to see if I have an older version of the system that might have the log viewer, but my guess is it wants the .xml version of the files.
I found logviewer on my 4.1 instance of AlarmPoint, and it looks like I am correct, it wants the .xml version of the files that we write. I could only find a .xml log in my Integration Agent log folder as I have turned off the .xml logger on my Alarmpoint instance to save disk space. If yours is also turned off, I will investigate where it is controled, likely a log4j file someplace.
Enable XML logging
In some versions of xMatters, XML logging on nodes is disabled by default (this can increase performance in highthoughput
scenarios). However, you can enable XML logging after installing xMatters and parse the resulting log files
with tools such as Chainsaw (the files are in standard log4j XML format).
To enable XML logging on a node:
1. Open the node's applicationContext.xml file in a text editor and change the logManager bean property usesXml
setting to true.
2. Open the node manager's nmApplicationContext.xml file in a text editor and change the nodeLogManager bean
property usesXml to true.
n The node also has redirection for the STDOUT and STDERR streams into special log files, but they cannot
currently be output in XML format.
Kim Jue Thanks a lot for your help I'll try XML loging. Wintail is installed with xmatters ?
wintail should be in the base directory of your xMatters/AlarmPoint install