PR to solve issues #152 & #111

This PR solves issues [#111](https://github.com/telefonicaid/fiware-connectors/issues/111) and [#152](https://github.com/telefonicaid/fiware-connectors/issues/152).

Please read carefully modifications in flume/conf/log4j.properties.template