Hello, please fix the problems which are shown by checkpatch tool (patches 01, 07, 08 and 09). Ivana
----- Original Message ----- > From: "Peter Schiffer" <pschi...@redhat.com> > To: libcg-devel@lists.sourceforge.net > Sent: Thursday, February 7, 2013 2:12:20 PM > Subject: [Libcg-devel] [PATCH 00/13] Logging overhaul 2 > > Hello List, > > I took Jan's logging improvements patchset sent to the libcg-devel > list here: > http://www.mail-archive.com/libcg-devel@lists.sourceforge.net/msg02790.html > > and updated it for the latest master branch in git. I kept original > patch > descriptions, just updated if neccesary. Additional changes I made > are: > > - added more log messages (but this is still not finished) > - unified format and level of some messages > - default log level set to ERROR > - enabled --debug verbosity for cgrulesengd deamon if > CGROUP_LOGLEVEL=DEBUG > variable set > > peter > > --- > > Peter Schiffer (13): > Removed cgroup_dbg from cgrulesengd > Reworked libcgroup logging > Enabled default logging > Reworked logging configuration > Added parsing of CGROUP_LOGLEVEL environment variable > Recognize DEBUG level of CGROUP_LOGLEVEL variable in daemon > Fixed cgrulesengd to log libcgroup log messages to syslog > Changed log level of various messages > Added new errors/warnings > Enabled logging in cgconfigparser > Added new logging to the tools > Added a test for the new logging > Added CGROUP_LOGLEVEL to man pages > > > configure.in | 11 --- > doc/man/cgclassify.1 | 11 ++- > doc/man/cgclear.1 | 6 + > doc/man/cgconfigparser.8 | 6 + > doc/man/cgcreate.1 | 5 + > doc/man/cgdelete.1 | 6 + > doc/man/cgexec.1 | 11 ++- > doc/man/cgget.1 | 6 + > doc/man/cgrulesengd.8 | 7 ++ > doc/man/cgset.1 | 6 + > doc/man/cgsnapshot.1 | 6 + > doc/man/lscgroup.1 | 8 ++ > doc/man/lssubsys.1 | 7 +- > include/Makefile.am | 2 > include/libcgroup.h | 1 > include/libcgroup/init.h | 4 + > include/libcgroup/log.h | 147 ++++++++++++++++++++++++++++++++++ > src/Makefile.am | 2 > src/api.c | 129 ++++++++++++++++++++---------- > src/config.c | 18 ++++ > src/daemon/cgrulesengd.c | 198 > +++++++++++++++++++++++++++++++--------------- > src/libcgroup-internal.h | 11 +-- > src/libcgroup.map | 5 + > src/log.c | 96 ++++++++++++++++++++++ > src/tools/cgconfig.c | 2 > src/tools/tools-common.h | 9 +- > tests/Makefile.am | 7 +- > tests/logger.c | 53 ++++++++++++ > tests/logger.sh | 137 ++++++++++++++++++++++++++++++++ > 29 files changed, 770 insertions(+), 147 deletions(-) > create mode 100644 include/libcgroup/log.h > create mode 100644 src/log.c > create mode 100644 tests/logger.c > create mode 100755 tests/logger.sh > > -- > > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > Libcg-devel mailing list > Libcg-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/libcg-devel > ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Libcg-devel mailing list Libcg-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libcg-devel