karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Resolved] (KARAF-4121) Escape characters in the log collection
Date Thu, 19 Nov 2015 07:35:11 GMT

     [ https://issues.apache.org/jira/browse/KARAF-4121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jean-Baptiste Onofré resolved KARAF-4121.
-----------------------------------------
    Resolution: Fixed

> Escape characters in the log collection
> ---------------------------------------
>
>                 Key: KARAF-4121
>                 URL: https://issues.apache.org/jira/browse/KARAF-4121
>             Project: Karaf
>          Issue Type: Bug
>          Components: decanter
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: decanter-1.0.2
>
>
> We have to escape some character when sending to the EventAdmin topic. Especially, for
the log collection.
> For instance:
> {code}
> java.lang.IllegalArgumentException: invalid topic: decanter/collect/log/WebAppHttpContext{io/hawt/hawtio-web
- 169}
>         at org.osgi.service.event.Event.validateTopicName(Event.java:229)[6:org.apache.karaf.services.eventadmin:4.0.2]
>         at org.osgi.service.event.Event.<init>(Event.java:59)[6:org.apache.karaf.services.eventadmin:4.0.2]
>         at org.apache.karaf.decanter.collector.log.LogAppender.appendInternal(LogAppender.java:89)[243:org.apache.karaf.decanter.collector.log:1.0.0]
>         at org.apache.karaf.decanter.collector.log.LogAppender.doAppend(LogAppender.java:52)[243:org.apache.karaf.decanter.collector.log:1.0.0]
>         at org.ops4j.pax.logging.service.internal.PaxAppenderProxy.doAppend(PaxAppenderProxy.java:63)[2:org.ops4j.pax.logging.pax-logging-service:1.8.4]
> {code}
> " " and "{" should be escaped.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message