Safer logger