Used mate for logging