log + secret