component{
// Configure LogBox
function configure(){
//LogBox DSL
logBox = {
// Define Appenders
appenders = {
coldboxTracer = { class="coldbox.system.logging.appenders.ConsoleAppender" }, coldboxLog = { class="coldbox.system.logging.appenders.FileAppender",
properties = {
filepath = "/logs/",
filename = "appLog"
}
},
userLog = {
class="coldbox.system.logging.appenders.FileAppender",
properties = {
filepath = "/logs/",
filename = "userLog"
}
},
securityLog = {
class="coldbox.system.logging.appenders.FileAppender",
properties = {
filepath = "/logs/",
filename = "securityLog"
}
}
}
// Root Logger
,root = { levelMin='FATAL', levelMax='ERROR', appenders="coldboxTracer" }
// categories
,categories = {
models.UserService = { levelMin = "INFO", levelMax = "INFO", appenders = "userLog" },
modules_app.security = { levelMin = "INFO", levelMax = "INFO", appenders = "securityLog" },
handlers.error = { levelMin='FATAL', levelMax = "WARN", appenders = "coldboxLog" }
}
};
}
}
--------- Original Message ---------
models.UserService={ levelMin ="INFO", levelMax ="INFO", appenders ="userLog"},
modules_app.security ={ levelMin ="INFO", levelMax ="INFO", appenders ="securityLog"},
handlers.error ={ levelMin='FATAL', levelMax ="WARN", appenders ="coldboxLog"}
}
};
}
}
ThxPascal--
--
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
For News, visit http://blog.coldbox.org
For Documentation, visit http://wiki.coldbox.org
For Bug Reports, visit https://ortussolutions.atlassian.net/browse/COLDBOX
---
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coldbox+u...@googlegroups.com.
To post to this group, send email to col...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/coldbox/4f5e0a99-9a60-4605-b43b-73afd2873855%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
"Severity","Appender","Date","Time","Category","Message""ERROR","COLDBOXLOG","09/14/2017","16:04:31","handlers.Error","CFErrorType=expression CFMessage=variable [GENERATEERROR] doesn't exist ...""INFO","COLDBOXLOG","09/14/2017","16:04:42","models.UserService","Update: User with id 10007 {""department_id"":""2"",""lastName"":""User"",""firstName"":""Test"",""user_id"":""10007"",""email"":""te...@stepstone.com""}""INFO","COLDBOXLOG","09/14/2017","16:04:48","modules_app.security.handlers.Login","Logging out user ad...@stepstone.com"
--------- Original Message ---------
To view this discussion on the web visit https://groups.google.com/d/msgid/coldbox/177b7f83-40ba-4e28-9c77-e4b70858a37b%40googlegroups.com.
,categories = { "models.UserService" = { levelMin = "INFO", levelMax = "INFO", appenders = "userLog" },
"modules_app.security" = { levelMin = "INFO", levelMax = "INFO", appenders = "securityLog" }, "handlers.error" = { levelMin='FATAL', levelMax = "WARN", appenders = "coldboxLog" } }
--------- Original Message ---------
Subject: Re: Re: [coldbox:26565] [ColdBox 4.3.0] Logging to different files
From: "Pascal Peters" <pascal...@gmail.com>
Date: 9/15/17 7:03 am
To: "ColdBox Platform" <col...@googlegroups.com>
--
--
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
For News, visit http://blog.coldbox.org
For Documentation, visit http://wiki.coldbox.org
For Bug Reports, visit https://ortussolutions.atlassian.net/browse/COLDBOX
---
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coldbox+u...@googlegroups.com.
To post to this group, send email to col...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/coldbox/81aa4866-189a-4ad4-9961-3f12c8784d3a%40googlegroups.com.