Hi Guys, working on a logging solution with Wirebox and Logbox. Does anyone have some code of how you setup Logbox inside of Wirebox? Does the Logbox setup go inside the Wirebox configure method?
I would like to use the dbappender and the Fileappender. I was looking at what Andrew Scott did on his site with AOP method logging of incoming arguments and returned results… I was able to get this working but I am not sure how I might set it up with the dbappender and Fileappender. Any help would be appreciated.
I am confused about how to call this. No Database table was created from this method nor was any log file created.
This is how I tried to call it. I want them both to fire. How do I call them? Do I need to create a category for them in the logboxConfig.cfc?
Hi Guys, I have not been able to get the appenders working from inside wirebox. I moved the creation of logbox to an onApplicationStart and it kicked in right away.
var lbConfig = new wirebox.system.logging.config.LogBoxConfig().init(CFCConfigPath=“util.logboxConfig”);
application.logbox = new wirebox.system.logging.LogBox().init(lbConfig);
The dbappender did not fire because of an error. The database is Oracle 10g.
Here is the error. [Macromedia][Oracle JDBC Driver][Oracle]ORA-00902: invalid datatype
wirebox\system\logging\appenders\DBAppender.cfc: line 169