Logbox in 3.0

trying to get logbox working on coldbox 3.0 but I am having
difficulties. All I want to log is a simple message if a condition
happens. This is how I am setting up my logger but I am getting
errors. It has something to do with the props line.. Am I setting this
up ok?

    <cfscript>
    config =
createObject("component","coldbox.system.logging.config.LogBoxConfig");
    config.root(appenders="*");
  
config.root(levelMax=config.logLevels.WARN,appenders="console,files");
  
config.root(levelMin=config.logLevels.INFO,levelMax=config.logLevels.DEBUG,appenders="*");
    props = {filePath='/logs',fileName='Test'};
    config.appender(name='Fileapp',
          class="coldbox.system.logging.appenders.FileAppender",
        properties=props);
    logBox =
createObject("component","coldbox.system.logging.LogBox").init(config);
    </cfscript>

this seems to have solved it. I changed the props section to like
this. but this may be a hack.. Is this ok like this?

  props = structnew();
        props.filePath = "/logs";
  props.fileName = "/Test";
  config.appender(name='Fileapp',
class="coldbox.system.logging.appenders.FileAppender",
properties=props );

Also. If I want to use 1 logger globally, should I set this in the
application scope? Is this a best practice?

Are you using LogBox within a ColdBox application or on another ColdFusion app?

Luis F. Majano
President
Ortus Solutions, Corp

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Within a coldbox app.

Coldbox 3 or 2 app?