« Back to home

SLF4J and XPages Java debugging

I like to write code once and be able to run it both in the Domino XPages environment, and in regular Java environments. That means I don’t want to use any Domino-specific logging. I also like the SLF4J interface, at least on the Java source code side of things. In particular, I like how easy it is to log values using parameterized logging: // Painful JDK logging Logger logger = Logger.…

Read more »

Tracking down misbehaving Domino web agents

The problem: You have a web agent somewhere which uses LotusScript MessageBox to output an error message. However, the message doesn’t say which agent or database it’s being output by, so you need to locate the agent which is printing the text. The solution: At the console, set config AgentThreadDebug=1 tell http restart The HTTP task will then display a debug message for each web-triggered agent that starts or ends.…

Read more »