Reported by
pieterh (1235086807|%O ago)
In the amq_server code (and similarly in all servers), when code issues an icl_console_print() and then aborts, the error message should be logged to a file that can be easily found back for post-mortem purposes. Since it can be hard to put low-level messages into the application log, any well-known file would work.
The file should be opened in append mode, and the log data should capture the program doing the abort and all available data that can help with diagnostics.
Attachments:
No files attached to this page.
Comments
Who's following this issue?
Submitted by
pieterh
Use one of these tags to say what kind of issue it is:
- issue - a fault in the software or the packaging or the documentation.
- change - a change or feature request.
Use one of these tags to say what state the issue is in:
- open - a new, open issue.
- closed - issue has been closed.
- rejected - the issue has been rejected.
Use one of these tags to say how urgent the issue is:
- fatal - the issue is stopping all work.
- urgent - it's urgent.
All open
88 - amq_console_agent crashes (1282985215|%B %d, %Y) [open]
87 - Zyre returns incomplete XML (1272269702|%B %d, %Y) [open]
86 - SFL 'random(num)' macro is wrong in sfl.h (1270027409|%B %d, %Y) [open]
85 - Zyre does not start on Solaris (1269307758|%B %d, %Y) [open]
84 - OpenAMQ JMS - AMQTopic constructor use HEADER name and class instead of TOPIC (1264698241|%B %d, %Y) [open]
83 - WireAPI: How to 'override' signal handlers? (1263490390|%B %d, %Y) [open]
82 - Opf Classes Cannot Accept Default Values With Characte (1262770441|%B %d, %Y) [open]
81 - AMQP Topic Exhange Routing (1262046077|%B %d, %Y) [open]
80 - OpenAMQ reports malformed frame on 0-9-1 queue.unbind (1258720402|%B %d, %Y) [open]
79 - AMQ Server crashing if subscribe topic is set as #.# (1256883113|%B %d, %Y) [open]
78 - Error while publishing the messages faster (1256882266|%B %d, %Y) [open]
77 - Tuning for latency (1256748435|%B %d, %Y) [open]
76 - New user forum (1256729358|%B %d, %Y) [change open]
74 - Simulaneous connect/disconnect from multiple threads crashes (1251991933|%B %d, %Y) [open]
73 - Topic Exchange not sending a message to XXX.* (1251234643|%B %d, %Y) [open]
72 - amq_content_basic_new() causes seg fault if not connected to broker (1250121043|%B %d, %Y) [open]
71 - zyre bugs (1249551228|%B %d, %Y) [open]
69 - OpenAMQ and Zyre (1247657260|%B %d, %Y) [open]
68 - Change names of max and min source code macros (1247244737|%B %d, %Y) [open]
67 - Server crash when multiple consumers ack on shared queue (1246016123|%B %d, %Y) [open]
Most recent
88 - amq_console_agent crashes (1282985215|%B %d, %Y) [open]
87 - Zyre returns incomplete XML (1272269702|%B %d, %Y) [open]
86 - SFL 'random(num)' macro is wrong in sfl.h (1270027409|%B %d, %Y) [open]
85 - Zyre does not start on Solaris (1269307758|%B %d, %Y) [open]
84 - OpenAMQ JMS - AMQTopic constructor use HEADER name and class instead of TOPIC (1264698241|%B %d, %Y) [open]
83 - WireAPI: How to 'override' signal handlers? (1263490390|%B %d, %Y) [open]
82 - Opf Classes Cannot Accept Default Values With Characte (1262770441|%B %d, %Y) [open]
81 - AMQP Topic Exhange Routing (1262046077|%B %d, %Y) [open]
80 - OpenAMQ reports malformed frame on 0-9-1 queue.unbind (1258720402|%B %d, %Y) [open]
79 - AMQ Server crashing if subscribe topic is set as #.# (1256883113|%B %d, %Y) [open]







I agree this would be a nice feature to have.
Done for 1.4b2
Portfolio