fix init_log() called before error() call

log handler expects init_log() has been processed,
without initialization, the call results in abort.

Signed-off-by: Hiroaki KAWAI <kawai@stratosphere.co.jp>