Is there a way to turn off the LogMgrWrtr messages relating to the HTTP methods that the WebSpeed compatibility handler does not support? Ex:
LogMgrWrtr [OE.W.InternalWebRouter ERROR] Error handling request for path using handler OpenEdge.Web.CompatibilityHandler
LogMgrWrtr Error(s) raised:
LogMgrWrtr ReturnValue: Method HEAD is not supported by WebSpeed compatibility handler.
LogMgrWrtr [OE.W.InternalWebRouter ERROR] Error handling request for path using handler OpenEdge.Web.CompatibilityHandler
LogMgrWrtr Error(s) raised:
LogMgrWrtr ReturnValue: Method OPTIONS is not supported by WebSpeed compatibility handler.
The requests generating these messages are coming from links embedded in Excel documents. Excel 'tests' the waters before opening links. Since I have other WebHandler services running on the same server, I don't want to reject these methods on the web server side.
Is there a switch/setting/line-of-code-I-can-hack-out that will remove these unneeded messages from the logs?
I am running OpenEdge 11.7.2 on WIndows.
Thanks,
Brian
Thanks Peter. Adding the logging.config entry will work for now. Is this feature in the documentation somewhere?
If would be nice if this logger could be configured to see errors but not warnings (or see both, or just warnings), rather than 'level' based. I've been using something similar for years, kind of a modified log4j (I call it log4p).
Do you think the 'error' in this case isn't really better classified as a 'warning'?
> Do you think the 'error' in this case isn't really better classified as a 'warning'?
I do, kinda. But that’d require a change in the OpenEdge.Web.CompatibilityHandler to make it log a message and not throw and exception. It would also allow you to configure a logger for just that handler and have that hide all the to-you-useless messages.
Please log a bug for the above.
Peter,
Is there any confirmation in the startup logs that this logging.config is read? I have added it to the propath (a file named logging.config with the contents posted here) and restarted the entire PASOE instance, yet I still see this messages.
This is under 11.7.2.014.
Also, I logged the bug as you suggested.
Thanks,
Brian