mod log method