logs generation