The default logging level is now 'WARNING' so chandler.log will not
have much in it unless you run into an error. http://
wiki.osafoundation.org/bin/view/Projects/LoggingProposal has an
example for a logging config file that turns up the verbosity level
on select parts of the application. Let's see how this works out,
and if we need to tweak things, we can.
Here's what my own custom.conf file looks like (and I just set
CHANDLERLOGCONFIG to point to this file so I don't have to specify it
on the command line):
[loggers]
keys=root,sharing,repository,inbound,parcel,zaobao
[handlers]
keys=chandler_log
[formatters]
keys=form01
[logger_root]
level=WARNING
handlers=chandler_log
[logger_sharing]
level=INFO
propagate=0
handlers=chandler_log
qualname=osaf.framework.sharing
[logger_parcel]
level=INFO
propagate=0
handlers=chandler_log
qualname=application.Parcel
[logger_inbound]
level=INFO
propagate=0
handlers=chandler_log
qualname=inbound
[logger_repository]
level=INFO
propagate=0
handlers=chandler_log
qualname=repository
[logger_zaobao]
level=INFO
propagate=0
handlers=chandler_log
qualname=osaf.examples.zaobao
[handler_chandler_log]
class=FileHandler
level=NOTSET
formatter=form01
args=(os.path.join(PROFILEDIR,'chandler.log'), 'a')
[formatter_form01]
format='%(asctime)s %(name)s %(levelname)s: %(message)s'
datefmt=
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Open Source Applications Foundation "Dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/dev