Handle snprintf and vsnprintf values appropriately in the logger to avoid stack problems
Review feedback
Merge pull request #178 from Metaswitch/logger_stack_smashing

[Reviewer: Andy] Handle snprintf and vsnprintf values appropriately in the logger to avoi...