I just saw this recording about LogBox http://vimeo.com/26745005 - in order to get a better understanding about LogBox. Great Recording, thanks Brad and Luis. :)
I am setting up All errors thrown by the app to a DB which I can then view using Relax Logs (as suggested by Luis in the recording)
Here is what my configuration looks like :-
logBox = {
appenders = {
fileLog = {
class="coldbox.system.logging.appenders.AsyncRollingFileAppender",
properties =
{
filePath = "logs",
fileName = coldbox.appName,
autoExpand = true,
fileMaxSize = 2000,
fileMaxArchives = 3
}
},
dbLog = {
class="coldbox.system.logging.appenders.AsyncDBAppender",
properties =
{
dsn = 'logging',
table = 'tbllogs',
autocreate = true
},
levelMax = "INFO",
levelMin = "FATAL"
}
},
root = {levelMax="INFO", appenders="*"}
};
Now, this does log stuff to the DB properly but I think I haven't got the severity levels correct. How do I get my Handlers / Models to start logging as well?
Thanks in advance….
Anuj Gakhar
--
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
To post to this group, send email to col...@googlegroups.com
To unsubscribe from this group, send email to coldbox-u...@googlegroups.com
For more options, visit this group at http://groups-beta.google.com/group/coldbox
For News, visit http://blog.coldbox.org
For Documentation, visit http://wiki.coldbox.org
--