BugLogHQ mura Plugin

105 views
Skip to first unread message

Marco Betschart

unread,
Jan 7, 2014, 9:49:16 AM1/7/14
to bugl...@googlegroups.com
Hey Folks!

I've put together a little mura Plugin which sends all errors which are occuring within a mura Application to BugLogHQ.
It is released as open source and originally based on Greg Moser's Hoth Plugin.

Feel free to do with it whatever you like to:

Cheers!

ma...@mandelkind.ch

unread,
Jan 17, 2014, 11:21:50 AM1/17/14
to bugl...@googlegroups.com
@Oscar
Would you mind adding the download information about the BugLogHQ mura Plugin on www.bugloghq.com?
That way folks may get an easy start with BugLogHQ and mura when used together.

Also I'm currently in touch with Seb over @blueRiver to add the plugin to the official mura website.
If you'd like to you may send me a short description for the plugin published over at http://getmura.com/downloads/mura-cms-plugins/ ?

Oscar Arevalo

unread,
Jan 17, 2014, 11:39:19 AM1/17/14
to bugl...@googlegroups.com
Yeah, that would be great!

I'll add it to the site. Where should I link to?  The assembla url?




--
 
---
You received this message because you are subscribed to the Google Groups "BugLogHQ" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bugloghq+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
Oscar Arevalo

Marco Betschart

unread,
Jan 29, 2014, 1:51:38 PM1/29/14
to bugl...@googlegroups.com
Hi Oscar

I've put together a short wiki page, so feel free to link to the following page on Assembla:

Marco Betschart

unread,
Jan 30, 2014, 1:16:17 PM1/30/14
to bugl...@googlegroups.com
Hi @all

Now you can see the plugin listed on the official mura website:

Juan Aguilar

unread,
Jan 31, 2014, 11:10:58 AM1/31/14
to bugl...@googlegroups.com
Thrilled with this plugin. My only comment is that application.bugLogService doesn't get created until onGlobalError which means you can't use it to log INFO-type events unless an uncaught error has occurred first, right? Unless I'm missing a reason not to do this, the easy fix is to move:

  1. <cfif NOT structKeyExists(application,'bugLogService')>
  2.         <cfset application.bugLogService = createObject('component','bugLogService').init(
  3.                 bugLogListener=variables.pluginConfig.getSetting('bugLogListener'),
  4.                 bugEmailRecipients=variables.pluginConfig.getSetting('bugEmailRecipients'),
  5.                 bugEmailSender=variables.pluginConfig.getSetting('bugEmailSender'),
  6.                 hostname=variables.pluginConfig.getSetting('hostname'),
  7.                 apikey=variables.pluginConfig.getSetting('apikey'),
  8.                 appName=variables.pluginConfig.getSetting('appName'),
  9.                 maxDumpDepth=variables.pluginConfig.getSetting('maxDumpDepth'),
  10.                 writeToCFLog=variables.pluginConfig.getSetting('writeToCFLog')
  11.         ) />
  12. </cfif>

into onApplicationLoad.

Oscar Arevalo

unread,
Feb 3, 2014, 1:37:38 AM2/3/14
to bugl...@googlegroups.com
Hello,

The download section of the BuglogHQ.com website has been updated with a link to the Mura plugin and also to a Coldbox login. 

If anyone have some suggestions to other relevant community BuglogHQ resources please let me know so that they can be included as well.

Thank you!

Oscar




--
 
---
You received this message because you are subscribed to the Google Groups "BugLogHQ" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bugloghq+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Marco Betschart

unread,
Feb 3, 2014, 12:15:39 PM2/3/14
to bugl...@googlegroups.com
Hi Juan

Please add a Support Ticket on Assembla for this request and I'll put it into the official release after some testing:

Thanks!

Marco Betschart

unread,
Feb 4, 2014, 7:20:04 PM2/4/14
to bugl...@googlegroups.com
@Oscar
Many thanks for adding the plugin in the download section of the BugLogHQ website!
Would you mind linking my name with my blog too (http://marbetschar.ch)?

Thanks!

Oscar Arevalo

unread,
Feb 6, 2014, 12:36:56 AM2/6/14
to bugl...@googlegroups.com
@marco
I updated the download page with your link.

Thanks,

Oscar

Eric Hoffman

unread,
May 14, 2015, 5:21:52 PM5/14/15
to bugl...@googlegroups.com
I see this link came down...is there any place to obtain this plugin yet?
thanks!

Juan Aguilar

unread,
May 15, 2015, 3:35:16 PM5/15/15
to bugl...@googlegroups.com
I sent an e-mail to Marco. Hopefully there's no big deal in having him make this available again.

In the meantime, I created a plugin bundle from by site and extracted the pluginfiles.zip archive. Maybe that's enough for you to roll your own plugin.
pluginfiles.zip

Joost van der Drift

unread,
Feb 14, 2017, 10:41:47 AM2/14/17
to BugLogHQ
Thanks to the help of Juan Aguilar I was able to get this working in Mura CMS

It turned out that line 87 of BuglogHQ/pluging/eventHandler.cfc prevented Buglog from posting a bug

                <cfif isStruct(local.args.exception)>


Apparently, this returns false, although it is a struct


So I changed 
<cfif isStruct(local.args.exception)>


to

<cfif structKeyExists(local.args.exception,'message')>


and now I'm getting errors in Buglog


Op vrijdag 15 mei 2015 21:35:16 UTC+2 schreef Juan Aguilar:
Reply all
Reply to author
Forward
0 new messages