Is there any functional difference between something like:

 

log {

….

};

 

log {

flags(final);

};

 

and

 

log {

  if {

    …

  } else {

   …

};

 

I was thinking about trying to build a configuration specific for an app from a Jinja2 template in Ansible and it seems like to me that if they aren’t different it would be easier to do multiple log statements if generated dynamically.

 

Thanks,

-Mark

 

 

Mark Faine

System Administrator

SAIC/NICS

215 Wynn Dr. 5065

Huntsville, AL 35805

256-961-1295 (Desk)

256-617-4861 (Work Cell)