Log4jMonitor issue: new line characters in messages
When the message for a given log entry is displayed by Log4jMonitor in
the "details" window, the whole message is displayed on one line, even
is the string contains new line characters.
I guess this not really a bug, but more like a feature or a different
behavior: I think it would be nice if new line characters were not
eaten when displaying the message. BTW, Chainsaw does respect new line
characters when displaying messages.
Alex
Please sign in to leave a comment.
Hi Alex,
Indeed there are some issues with the details window.
- the scrolpane doesn't behave as it should (sometimes it shows 2 scrollbars)
- then on resize it loses the linebreaks.
I'll have a look at it..
thanks for using/trying the plugin
Aiko
Alessandro Vernet wrote:
Aiko,
I am using Log4jMonitor 0.9.3 with Pallada build 2008.
The attached screen shot shows a problem with the tree view function of
enabling and disabling of categories. I am primarily using package names as
catagories. As you can see I have log messages coming in with a catagory of
us.nc.state.enr.ust, but since I also have messages with subcatagories (as
shown in the tree), the checkbox for that catagory is not displayed in the
tree so I cannot disable the display of those log messages.
Also, being new to Log4j, could you give me a brief explaination as to why
my Machine would be labeled "Unknown:-1" and what the NDC column is for?
Thanks,
Tim
Attachment(s):
Log4JMonitor.JPG
I'm getting the following exception when I click on a node in Log4JMonitor. Is this a known problem or am I doing something wrong?
Hi,
Looks like the openapi has changed.. (or at least is not backwards compatable anymore)
I haven't switched to the pallada builds yet..
I'll have a look at it..
thanks for the report,
Aiko
Michael Tennes wrote:
I use Log4jMonitor with the Pallada builds without any problems. I think the
poster is using an older version. 3.x perhaps?
"Aiko Mastboom" <intellij@aiko.sh> wrote in message
news:c8i9fs$4gj$1@is.intellij.net...
>
compatable anymore)
>
>
>
>
Log4JMonitor. Is this a known problem or am I doing something wrong?
I get a problem with the EAP version (3370), due to an API change.
OpenFileDescriptor wants the project now.
java.lang.NoSuchMethodError: com.intellij.openapi.fileEditor.OpenFileDescriptor.]]>(Lcom/intellij/openapi/vfs/VirtualFile;II)V
at com.webspherious.intellij.utils.IntelliJFileUtils.openFile(IntelliJFileUtils.java:143)
at com.webspherious.intellij.Log4JPlugin.openFile(Log4JPlugin.java:129)
at com.webspherious.log4jmonitor.AbtractLog4JPlugin.openFileFromLink(AbtractLog4JPlugin.java:192)
at com.webspherious.log4jmonitor.DetailPanel$1.hyperlinkUpdate(DetailPanel.java:67)
at javax.swing.JEditorPane.fireHyperlinkUpdate(JEditorPane.java:320)
at javax.swing.text.html.HTMLEditorKit$LinkController.activateLink(HTMLEditorKit.java:827)
at javax.swing.text.html.HTMLEditorKit$LinkController.mouseClicked(HTMLEditorKit.java:637)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:212)
at java.awt.Component.processMouseEvent(Component.java:5491)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3093)