summaryrefslogtreecommitdiffstats
path: root/src/lib/Logger.py
Commit message (Collapse)AuthorAgeFilesLines
* cherry-picked a2cc392 Switch to shallow rather than deep copies to improve ↵Chris St. Pierre2012-01-131-1/+1
| | | | performance
* Some housekeeping in Logger.pyKamil Kisiel2011-10-311-128/+45
| | | | | Removed apparently unused functions (checked via grep) Refactored setup_logging in to several functions for clarity.
* Logger: Fix non-string loggingSol Jerome2011-05-101-10/+13
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Logger: Statement always was True in python 2Sol Jerome2011-05-091-15/+10
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Logger: Use bytes for PY3KSol Jerome2011-05-091-1/+3
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Common: Fixes to get server to start with PY3KSol Jerome2011-05-031-2/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Common: Add full PY3K compatibilitySol Jerome2011-04-271-1/+3
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Rewrote bcfg2-repo-validate as bcfg2-lint, which uses a pluginChris St. Pierre2011-04-201-2/+10
| | | | | | | | | interface to be lots more flexible and extensible. Added several more tests. If bcfg2-lint is run as bcfg2-repo-validate, it roughly emulates the functionality of that program. TODO: Need to figure out correct way to symlink bcfg2-repo-validate to bcfg2-lint on install.
* PY3K + PEP8 fixes for remaining filesSol Jerome2011-04-071-16/+37
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Prevent Logger.py from throwing execptions when unable to connect to the loggerTim Laszlo2010-06-111-2/+9
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5924 ce84e21b-d406-0410-9b95-82705330c041
* Updated files to match PEP 257Fabian Affolter2010-06-071-11/+12
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5899 ce84e21b-d406-0410-9b95-82705330c041
* Fragmenting Syslogger logs backwardsTim Laszlo2010-05-261-2/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5869 ce84e21b-d406-0410-9b95-82705330c041
* Logger.py: Add timestamps when logging to file (Resolves Ticket #819)Sol Jerome2010-02-171-1/+1
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5730 ce84e21b-d406-0410-9b95-82705330c041
* Pylint/PEP 8 Code cleanupsSol Jerome2009-10-071-14/+14
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5477 ce84e21b-d406-0410-9b95-82705330c041
* Logging: Fix reconnect when using /dev/logNarayan Desai2009-04-241-3/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5177 ce84e21b-d406-0410-9b95-82705330c041
* More python 2to3 updates along with pylint/code cleanupsSol Jerome2009-04-231-10/+21
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5173 ce84e21b-d406-0410-9b95-82705330c041
* Get rid of errant newlines (Resolves #599 for real this time)Narayan Desai2008-09-291-0/+55
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4925 ce84e21b-d406-0410-9b95-82705330c041
* fixed minor issues involving -e and -b in bcfg2-reportsJames Yang2008-08-061-1/+6
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4864 ce84e21b-d406-0410-9b95-82705330c041
* applied logging->logger patchJames Yang2008-08-051-0/+155
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4852 ce84e21b-d406-0410-9b95-82705330c041