summaryrefslogtreecommitdiffstats
path: root/utils/logger.py
AgeCommit message (Collapse)AuthorFilesLines
2017-01-09Bottlenecks frame support log informationliyin1-0/+59
JIRA: BOTTLENECK-122 This code is for Bottlenecks to have a common way to export log information the way to use it is: xxx = Logger.(__name__).getLogger() xxx.info('xxxxxx') It will only out info if you don't set DEBUG=true. the default log file located '/tmp/bottlenecks.log' we will add configuring log file function when config funtion complate. Change-Id: I11cdc8a27f657736c3ec0e0bc1195f0ce0a2fce4 Signed-off-by: liyin <liyin11@huawei.com>