diff --git a/internal/tasks/monitorVcenter.go b/internal/tasks/monitorVcenter.go index 2e03f8f..0af5f6e 100644 --- a/internal/tasks/monitorVcenter.go +++ b/internal/tasks/monitorVcenter.go @@ -225,7 +225,7 @@ func (c *CronTask) UpdateVmInventory(vmObj *mo.VirtualMachine, vc *vcenter.Vcent params.UpdateType = updateType updateTime := time.Now().Unix() params.UpdateTime = sql.NullInt64{Int64: updateTime, Valid: updateTime > 0} - c.Logger.Debug("Detected new change in VM, inserting update record into database", "update_type", updateType, "params", params) + c.Logger.Info("Detected new change in VM, inserting update record into database", "update_type", updateType, "params", params) result, err := c.Database.Queries().CreateUpdate(ctx, params) if err != nil {