[apparmor] [patch] Get rid of global variable 'logger'

2015-10-20 Thread Christian Boltz
Hello, the global variable 'logger' in aa.py is only used by aa-genprof. This patch changes aa_genprof to use the (new) logger_path() function, and moves the code for finding the logger path to that function. Also make the error message more helpful if logger can't be found. [

Re: [apparmor] [patch] Get rid of global variable 'logger'

2015-10-20 Thread John Johansen
On 10/20/2015 11:31 AM, Christian Boltz wrote: > Hello, > > the global variable 'logger' in aa.py is only used by aa-genprof. > > This patch changes aa_genprof to use the (new) logger_path() function, > and moves the code for finding the logger path to that function. > > Also make the error