Add ODL log configuration 28/73628/14
authorTaseer Ahmed <taseer94@gmail.com>
Sun, 1 Jul 2018 18:41:37 +0000 (23:41 +0500)
committerTaseer Ahmed <taseer94@gmail.com>
Wed, 22 Aug 2018 15:54:26 +0000 (20:54 +0500)
commit543cc4968da52b242ebb42f437fe99612e7b35ed
tree3305773a6b69537ecd9c3a28ff11a3327a5d0be8
parent68add19995b90b051375428e7083ab8e3a7ec7c5
Add ODL log configuration

JIRA: INTPAK-40

Parallels the Puppet logic. Initially log levels is an empty
dictionary of the 'logger name' and 'log level'. The user can
set the logger name and log level by their choice.
Ansible implements a similar approach. By default, log_levels
is empty, but can be over written in the vars.

This patch also sets the logging mechanism, either file or console.
Default mechanism is set to console. In case of file, the log
rotation strategy is also configured.

Change-Id: Ifa39927bc77b47490d3e1b56f23aa359316bc3bf
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
tasks/configure_odl_logs.yml [new file with mode: 0644]
tasks/main.yml
vars/main.yml