Hi everybody,
I'm having some problem due to the way I use logging module.
Basically, I have separate file with configuration for logging and in
each of my modules I define:
logging.config.fileConfig(os.getcwd() + "/log/logconf.ini")
and this is where Sphinx stops:
Exception occurred:[ 33%]
developer_guide
File "/Library/Frameworks/Python.framework/Versions/4.0.30002/lib/
python2.5/ConfigParser.py", line 511, in get
raise NoSectionError(section)
NoSectionError: No section: 'formatters'
Also, in my logcong.ini (config file for logging) I have:
[handler_filelog]
class: FileHandler
level=DEBUG
formatter: detailed
args=('/Users/piotr/Projects/Thesis/Autumn/SKM-latest/log/
warnings_errors.log', 'a')
where I want to provide a relative path but because of the same error
from Sphinx as above I'm forced to provide an absolute path to log
file.
Is there something I'm doing wrong?
How could I retain relative paths in my modules and logging config
files?
Any help greatly appreciated!
Thanks for the great work put on Sphinx, as your website says: “Cheers
for a great tool that actually makes programmers want to write
documentation!”
Piotrek Byzia
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sphinx-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sphinx-dev?hl=en
-~----------~----~----~----~------~----~------~--~---