summaryrefslogtreecommitdiffstats
path: root/sdnvpn/lib/logutil.py
AgeCommit message (Collapse)AuthorFilesLines
2018-06-04Fix the logging to be compatible with functestPeriyasamy Palanisamy1-22/+0
Change-Id: I62b432497175e79bcf2cd241be54d8a7f5db2799 Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com> (cherry picked from commit e08e7c43c85fa04dc78a1fcf8a11ab877a78dfb9)
2018-05-08create log file only if it doesn't existPeriyasamy Palanisamy1-1/+3
Change-Id: I97e4f0cf8f27ff719253967ac14e74bcd55b0559 Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com> (cherry picked from commit 9df57f96b44d41c98a556a790dfa7f96b8dc9808)
2018-05-07create log file during logger initializationPeriyasamy Palanisamy1-5/+2
Currently the log messages from utils and openstack_utils python modules are not logged into bgpvpn.log. This is because this file is created during SDNVPN Feature initialization. So creating this file during logger initialization itself. Change-Id: I538acdfb2119f1eaa562f61dac3b6bf7c3a58e41 Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com> (cherry picked from commit c1e5aafd5b5984b995d3ac6c74703e6a8be6e38b)
2018-04-20Make sdnvpn logging properPeriyasamy Palanisamy1-0/+23
* Currently no log messages are getting written into log file due to file handler is registered for logger object created at different modules. Now corresponding handler is registered for logger objects. * Making sdnvpn Feature class to use its parent class logger object to avoid unnecessary logger object creation. Change-Id: I4ec61951ba4ac39cecc137dbb818da72f0b43b35 Signed-off-by: Periyasamy Palanisamy <periyasamy.palanisamy@ericsson.com> (cherry picked from commit 303268d0464127c52f11443404fb1baae03d615f)