openbaton / generic-vnfm

Repository containing the source code of the generic VNFM
Apache License 2.0
20 stars 20 forks source link

LogUtils.java includes inadequate error handling #57

Closed gold-kou closed 6 years ago

gold-kou commented 6 years ago

This is about saveLogToFile function of LogUtils.java.

I think "Not able to create log file" isn't outputted as an error log, in case of failing to create new log file by createNewFile function. Because, if something error like a permission of directory happend at createNewFile function, thrown to IOException and end.

This is a tiny bug, but it occured problem while debug.

I will pull request soon later.