Do not log if logger is null

PR67 (https://github.com/jpos/jPOS/pull/67) had an undesired
side-effect of starting logging to the default logger in situations
we really didn't want to log (i.e. a service that doesn't have an
assigned logger, on purpose).