Log only in development mode.