On 05/12/2011 08:58 AM, Jan Safranek wrote: > cgconfigparser calls cgroup_init too late, it's necessary to initialize > libcgroup logging earlier in the process, so various messages get visible to > user. > > Signed-off-by: Jan Safranek<jsafr...@redhat.com> Acked-By: Ivana Hutarova Varekova <varek...@redhat.com>
> --- > > src/tools/cgconfig.c | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/src/tools/cgconfig.c b/src/tools/cgconfig.c > index e426b76..d517c5b 100644 > --- a/src/tools/cgconfig.c > +++ b/src/tools/cgconfig.c > @@ -54,6 +54,8 @@ int main(int argc, char *argv[]) > {0, 0, 0, 0} > }; > > + cgroup_set_default_logger(-1); > + > if (argc< 2) > usage(argv[0]); /* usage() exits */ > > > > ------------------------------------------------------------------------------ > Achieve unprecedented app performance and reliability > What every C/C++ and Fortran developer should know. > Learn how Intel has extended the reach of its next-generation tools > to help boost performance applications - inlcuding clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > Libcg-devel mailing list > Libcg-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/libcg-devel ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Libcg-devel mailing list Libcg-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libcg-devel