14.4 配置ActiveMQ日志

博客已搬家, 更好阅读体验, 猛戳 http://www.jack-yin.com/coding/translation/activemq-in-action/1884.html

14.4 Configuring ActiveMQ logging

14.4 配置ActiveMQ日志

So far we’ve seen how you can monitor ActiveMQ either programmatically or using

tools such as JConsole. But there’s one more way you can peek at the broker status,

and that’s through its internal logging mechanism. When you experience problems

with the broker’s behavior, the first and most common place to begin looking for a

potential cause of the problem is the data/activemq.log file. In this section you’ll

learn how you can adjust the logging to suit your needs and how it can help you in

detecting potential broker problems.

到目前为止,我们已经可以通过编程或者使用诸如JConsole之类的工具来监控ActiveMQ了.同样,

还有另外一种方式来监控代理状态,即使用时代理的内部日志机制.当你遇到代理问题,排查问题

原因的起点同时也是最常用到的文件就是data/activemq.log日志文件.本节中,你讲看到如何调整

日志以便符合需求并且会看到如何借用日志来侦测潜在的代理问题.

...............

博客已搬家, 更好阅读体验, 猛戳 http://www.jack-yin.com/coding/translation/activemq-in-action/1884.html

猜你喜欢

转载自jackyin5918.iteye.com/blog/2002187
今日推荐