summaryrefslogtreecommitdiff
path: root/cloudinit/log.py
AgeCommit message (Collapse)Author
2013-04-17add debug output to ccfg-merge-debugScott Moser
Exeptions were being swallowed completely and no way to even see them other than log.
2012-10-16Move the recursive flushing to the log module.Joshua Harlow
2012-08-22fix pep8 complaints.Scott Moser
make pep8 now is silent on precise's pep8 ( 0.6.1-2ubuntu2).
2012-07-10Remove the usage of set,list,dict and use the collectionsJoshua Harlow
iterable which performs the same, but can handle iterator types beyond those three.
2012-07-10fix regression in logging codeScott Moser
revno 584 broke logging. This fixes as it intended.
2012-07-09Add more information about why we are returning early andJoshua Harlow
why we don't convert a string that is a filename to a string buffer/io like object.
2012-07-09do not warn to stderr if one of the logging configs works.Scott Moser
In 0.6.3, if one of the logging configs succeeded, then it was just used. If it failed, it failed silently. This behavior was expected, and desired. As the code was here, we tried each log_cfg in the list anyway (possibly using the last rather than the first) and writing a messgae including 'WARN' to stderr on failure of the log.
2012-06-20Massive pylint + pep8 fixups!Joshua Harlow
2012-06-181. Simplify basic logging (which will not always be turned on in the new ↵Joshua Harlow
cloud init main entrypoint 2. Have the ability to reset the logging handlers a. This seems needed when we initially have basic logging turned on, then later we come in and change the logging. It seems required for some odd reason to go in and reset the handlers for the root/cloudinit loggers (needs some more investigation).
2012-06-15Fixups to ensure that pylint does not find anything major wrong.Joshua Harlow
2012-06-15Ensure that the root logger is manipulated instead of just the cloudinit ↵Joshua Harlow
logger, show how many configs were tried if none succeeded, and for basic logging setup try to mirror more of what is in the default configuration file if all else fails
2012-06-11Added log setup and a basic log (for when one is not enabled)Joshua Harlow
2012-06-09Add copyright.Joshua Harlow
2012-06-08Working on making this have the old setup (where strings are taken in for ↵Joshua Harlow
config) as well as file names (for those that have files).
2012-06-071. Adding some new helper files that split off file inclusion, templating, ↵Joshua Harlow
importing, constant usage. 1. Move all datasources to a new sources directory 1. Rename some files to be more consistent with python file/module naming.