The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I'm writing a Confluence user macro and whenever I make a syntax error, the macro just stops showing up on the screen but I can't see anything in the Confluence log or anywhere else. So, how am I supposed to know what syntax error I have made?
Hello @Mikel Rodriguez . As a fellow user macro enthusiast, I understand your pain. You have a few options, some more painful than others:
Generally, I build my macros up slowly, often creating small macros to just test one function.
Lastly, you can always started another question for the community to try to find what you can't see (so hard to see your own errors -- I know).
That's my problem, I've already set up a Confluence instance in my computer, I run it directly from Eclipse inside of a Tomcat server, and when there is an error rendering the macro, I look at the console and it's completely silent. I see no stack traces whatsoever. I've already configured log4j so that the root logger is INFO level and I've removed all specific loggers so that the INFO level applies to everything, and still I can't see any errors when I render the macro on a page. I see millions of messages as I've chosen a very verbose root logging level, but nothing related to the macro itself. Could you give me please some insight on what's happening to me? It's mind-boggling isn't it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Feeling overwhelmed by the demands of work and life? With a 25% increase in the prevalence of anxiety and depression worldwide during the pandemic, for most of us, it’s a resounding yes . 🙋♀️ ...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.