ActiveMQ Logs
ActiveMQ log data is presented to you by splitting it into components such as message, log level, thread name, source file name, date and time. With default support for ActiveMQ logs you can search, view, collect, and analyze the data with the help of our intuitive web client. Site24x7 AppLogs is a one of a kind cloud-based log management service that helps you manage ActiveMQ logs with ease. Learn more about log management with Site24x7.
Getting started
- Log in to your Site24x7 account.
- Download and install the Site24x7 Server Monitoring agent (Windows | Linux).
- Go to Admin > AppLogs > Log Profile and Add Log Profile.
Log file path
By default, an application writes logs in different folders and files. ActiveMQ logs will be sourced from the below-mentioned folder path for the respective Operating System (OS) type. If you have logs in a different folder, you can mention it under File Path to source them from that particular folder while creating a log profile.
Log pattern
$DateTime:date$ | $LogLevel$ | $Message$ | $SourceFileName$ | $ThreadName$
This is the default pattern defined by Site24x7 to parse ActiveMQ logs based on the sample mentioned below.
Sample log
2016-09-23 15:14:47,815 | INFO | Refreshing org.apache.activemq.xbean.XBeanBrokerFactory$1@20e2cbe0: startup date [Fri Sep 23 15:14:47 IST 2016]; root of context hierarchy | org.apache.activemq.xbean.XBeanBrokerFactory$1 | main
The above sample log can be separated into five fields, each of which will take its respective value from here and will then be uploaded to Site24x7.
Field name | Field value |
Date & Time | 2016-09-23 15:14:47,815 |
Log Level | INFO |
Message | Refreshing org.apache.activemq.xbean.XBeanBrokerFactory$1@20e2cbe0: startup date [Fri Sep 23 15:14:47 IST 2016]; root of context hierarchy |
Source File Name | org.apache.activemq.xbean.XBeanBrokerFactory$1 |
Thread Name | main |