Your LogBox installation is up and working, but the problem is you haven’t told it where you’d like it to log to yet! By default, LogBox is logging to a dummy appender until you tell it where to go instead. You can configure as many appenders for LogBox as you wish.
Adding in your LogBox configuration in ColdBox is easy. You can either add a “logbox” struct inside your /config/ColdBox.cfc file, or if you like to keep things organized, you can create a /config/LogBox.cfc dedicated to your LogBox config. Look in the PDF I linked to for exact syntax, but you can set up a log file with the following basic config:
function index(event,rc,prc){
prc.welcomeMessage = “Welcome to ColdBox2!”;
coldboxTracer.info(‘main.cfc index method run to console’);
dblogger.info(‘main.cfc index method run’);
event.setView(“main/index”);
}
The DB appender works great and writes to the database, however the coldboxTracer also writes to the database when I expected it to write to the console, it has category “coldboxTracer” but appendername “DBAPPENDER”. What am I missing?