activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiram Chirino (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (APLO-7) better logging messages
Date Fri, 13 May 2011 16:14:47 GMT

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

Hiram Chirino updated APLO-7:
-----------------------------

          Component/s: apollo-broker
    Affects Version/s: 1.0-beta1
        Fix Version/s: 1.0-beta2

> better logging messages
> -----------------------
>
>                 Key: APLO-7
>                 URL: https://issues.apache.org/jira/browse/APLO-7
>             Project: ActiveMQ Apollo
>          Issue Type: Bug
>          Components: apollo-broker
>    Affects Versions: 1.0-beta1
>            Reporter: Hiram Chirino
>            Assignee: Hiram Chirino
>             Fix For: 1.0-beta2
>
>
> {quote}
> I'm trying the latest Apollo snapshot and I see in the logs:
>  2011-04-21 08:16:12,536 connected: /127.0.0.1:53012
> Could you please add the local port number too?
> This is especially useful in case of failures. I got:
>  2011-04-21 08:14:16,970 authentication failed. address:/127.0.0.1:53008, reason:No associated
certificates
> After investigation, it was the tcp port (and not the ssl port) so it
> was not at all related to certificates. A message such as "invalid
> user name or password" would be much better.
> Also, like for http://fusesource.com/issues/browse/DEV-3052, it would
> be useful to get the user name in case of authentication failures.
> Finally, to make the log parsers' life easier, it would be really nice
> to use a standard format for the messages. For instance something like:
>  connected: local:127.0.0.1:61613 remote:127.0.0.1:53012
>  authentication failed: local:127.0.0.1:61613 remote:127.0.0.1:53012 reason:"invalid
user name or password" user:guesst
> FWIW, the "local" address could be useful in case of multihomed servers.
> If you don't want to bother about how to format key/value pairs, maybe
> you could use log4j's MDC?
> Cheers,
> Lionel
> {quote}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message