You can monitor the flow of media events from the Alfresco repository through ActiveMQ and system logs.
-
Check the health of ActiveMQ, particularly that the following events are occurring:
- Topics > alfresco.health.contentservices shows that heartbeats are being sent
- Queues > alfresco.transform.request.image, alfresco.transform.reply.image, alfresco.transform.request.video, and alfresco.transform.reply.video are showing messages enqueuing and dequeuing ActiveMQ provides a web console:
http://localhost:8161/admin/where
localhostis the name of the Alfresco server.You can also check the ActiveMQ log, which is located in
activemq/data/activemq.logwhereactivemqis the name of directory where you installed ActiveMQ.By default, subscribers are set to Active Durable Topic Subscribers to ensure that if ActiveMQ fails, messages are not lost.
Note
For technical reasons, Topics > Messages Dequeued never decrements. Do not monitor this queue.
-
Check the content services node log to monitor what is being transformed:
-
Port 8889 is reserved for the content services node.
http://localhost:8889/healthcheckshows the last transformation after startup (but before any transformations). You should see:{"FFmpeg":{"healthy":true},"ImageMagick":{"healthy":true},"deadlocks":{"healthy":true}}and after a transformation request:
{"FFmpeg":{"healthy":true,"message":"lastRequest: \"6075f46f-de9c-4232-aa78-d3ed1280a371\""},"ImageMagick":{"healthy":true},"deadlocks":{"healthy":true}} -
Check the log, which is located in remote-node/logs/content-services-node.log, where remote-node is the name of directory that you unzipped when you installed Media Management.
- You can change the log level of the content services node in the remote-node/config.yml file.
- Check
alfresco.log, after setting the log level todebug, for any errors.
-
-
Use the
log4j.properties.samplefile to add loggers to yourtomcat/webapps/alfresco/WEB-INF/classes/alfresco/module/org_alfresco_mm_repo/log4j.propertiesfile.A
log4j.properties.samplefile is provided in the Media Management installation zip. This file contains loggers that you can add to your Alfrescolog4j.propertiesfile to trace and debug your Media Management workflow.