Preparing internal log