You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Sergey Zhemzhitsky (JIRA)" <ji...@apache.org> on 2012/06/22 13:01:43 UTC
[jira] [Created] (QPID-4084) Qpid logger should you milliseconds in
when outputing formatted timestamps
Sergey Zhemzhitsky created QPID-4084:
----------------------------------------
Summary: Qpid logger should you milliseconds in when outputing formatted timestamps
Key: QPID-4084
URL: https://issues.apache.org/jira/browse/QPID-4084
Project: Qpid
Issue Type: Improvement
Reporter: Sergey Zhemzhitsky
Here is the discussion:
http://qpid.2158936.n2.nabble.com/Milliseconds-in-log-messages-td7578787.html
I suppose [boost::posix_time::to_iso_extended_string(ptime)|http://www.boost.org/doc/libs/1_49_0/doc/html/date_time/posix_time.html#id1294754] function can be used, for example:
{code}
using namespace boost::posix_time;
to_iso_extended_string(microsec_clock::local_time())
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org
[jira] [Resolved] (QPID-4084) Qpid logger should you milliseconds
in when outputing formatted timestamps
Posted by "Steve Huston (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/QPID-4084?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Huston resolved QPID-4084.
--------------------------------
Resolution: Fixed
Fix Version/s: 0.19
Fixed on trunk at r1373147.
> Qpid logger should you milliseconds in when outputing formatted timestamps
> --------------------------------------------------------------------------
>
> Key: QPID-4084
> URL: https://issues.apache.org/jira/browse/QPID-4084
> Project: Qpid
> Issue Type: Improvement
> Affects Versions: 0.12, 0.13, 0.14, 0.15, 0.16
> Reporter: Sergey Zhemzhitsky
> Assignee: Steve Huston
> Fix For: 0.19
>
>
> Here is the discussion:
> http://qpid.2158936.n2.nabble.com/Milliseconds-in-log-messages-td7578787.html
> I suppose [boost::posix_time::to_iso_extended_string(ptime)|http://www.boost.org/doc/libs/1_49_0/doc/html/date_time/posix_time.html#id1294754] function can be used, for example:
> {code}
> using namespace boost::posix_time;
> to_iso_extended_string(microsec_clock::local_time())
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org
[jira] [Updated] (QPID-4084) Qpid logger should you milliseconds in
when outputing formatted timestamps
Posted by "Sergey Zhemzhitsky (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/QPID-4084?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Zhemzhitsky updated QPID-4084:
-------------------------------------
Affects Version/s: 0.12
0.13
0.14
0.15
0.16
> Qpid logger should you milliseconds in when outputing formatted timestamps
> --------------------------------------------------------------------------
>
> Key: QPID-4084
> URL: https://issues.apache.org/jira/browse/QPID-4084
> Project: Qpid
> Issue Type: Improvement
> Affects Versions: 0.12, 0.13, 0.14, 0.15, 0.16
> Reporter: Sergey Zhemzhitsky
>
> Here is the discussion:
> http://qpid.2158936.n2.nabble.com/Milliseconds-in-log-messages-td7578787.html
> I suppose [boost::posix_time::to_iso_extended_string(ptime)|http://www.boost.org/doc/libs/1_49_0/doc/html/date_time/posix_time.html#id1294754] function can be used, for example:
> {code}
> using namespace boost::posix_time;
> to_iso_extended_string(microsec_clock::local_time())
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org
[jira] [Commented] (QPID-4084) Qpid logger should you milliseconds
in when outputing formatted timestamps
Posted by "Alan Conway (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/QPID-4084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13401443#comment-13401443 ]
Alan Conway commented on QPID-4084:
-----------------------------------
This is already implemented for the POSIX version of the broker, e.g.:
2012-06-26 10:50:21.800176860 [Broker] critical Unexpected error: Can't bind to port 0.0.0.0:5672: Address already in use (../../qpid/cpp/src/qpid/sys/posix/Socket.cpp:206)
and it appears that it has also been implemented on Windows, see ~/qpid/qpid/cpp/src/qpid/sys/windows/Time.cpp: void outputHiresNow(std::ostream& o)
Are you using an older version of the broker?
> Qpid logger should you milliseconds in when outputing formatted timestamps
> --------------------------------------------------------------------------
>
> Key: QPID-4084
> URL: https://issues.apache.org/jira/browse/QPID-4084
> Project: Qpid
> Issue Type: Improvement
> Affects Versions: 0.12, 0.13, 0.14, 0.15, 0.16
> Reporter: Sergey Zhemzhitsky
>
> Here is the discussion:
> http://qpid.2158936.n2.nabble.com/Milliseconds-in-log-messages-td7578787.html
> I suppose [boost::posix_time::to_iso_extended_string(ptime)|http://www.boost.org/doc/libs/1_49_0/doc/html/date_time/posix_time.html#id1294754] function can be used, for example:
> {code}
> using namespace boost::posix_time;
> to_iso_extended_string(microsec_clock::local_time())
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org
[jira] [Assigned] (QPID-4084) Qpid logger should you milliseconds
in when outputing formatted timestamps
Posted by "Alan Conway (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/QPID-4084?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alan Conway reassigned QPID-4084:
---------------------------------
Assignee: Steve Huston
> Qpid logger should you milliseconds in when outputing formatted timestamps
> --------------------------------------------------------------------------
>
> Key: QPID-4084
> URL: https://issues.apache.org/jira/browse/QPID-4084
> Project: Qpid
> Issue Type: Improvement
> Affects Versions: 0.12, 0.13, 0.14, 0.15, 0.16
> Reporter: Sergey Zhemzhitsky
> Assignee: Steve Huston
>
> Here is the discussion:
> http://qpid.2158936.n2.nabble.com/Milliseconds-in-log-messages-td7578787.html
> I suppose [boost::posix_time::to_iso_extended_string(ptime)|http://www.boost.org/doc/libs/1_49_0/doc/html/date_time/posix_time.html#id1294754] function can be used, for example:
> {code}
> using namespace boost::posix_time;
> to_iso_extended_string(microsec_clock::local_time())
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org
[jira] [Commented] (QPID-4084) Qpid logger should you milliseconds
in when outputing formatted timestamps
Posted by "Sergey Zhemzhitsky (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/QPID-4084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13401990#comment-13401990 ]
Sergey Zhemzhitsky commented on QPID-4084:
------------------------------------------
Hi Alan,
Currently I'm using qpid c++ client 0.14 and outputHiresNow displays unformatted time.
> Qpid logger should you milliseconds in when outputing formatted timestamps
> --------------------------------------------------------------------------
>
> Key: QPID-4084
> URL: https://issues.apache.org/jira/browse/QPID-4084
> Project: Qpid
> Issue Type: Improvement
> Affects Versions: 0.12, 0.13, 0.14, 0.15, 0.16
> Reporter: Sergey Zhemzhitsky
>
> Here is the discussion:
> http://qpid.2158936.n2.nabble.com/Milliseconds-in-log-messages-td7578787.html
> I suppose [boost::posix_time::to_iso_extended_string(ptime)|http://www.boost.org/doc/libs/1_49_0/doc/html/date_time/posix_time.html#id1294754] function can be used, for example:
> {code}
> using namespace boost::posix_time;
> to_iso_extended_string(microsec_clock::local_time())
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org