erikdarlingdata/DarlingData

Log_Hunter additional parameters for not delete record

acappelletti opened this issue · 2 comments

Hi Erik,
I was analyzing the logs of 2 new servers and I've just started the procedure... I saw that no records regarding "Login failed..." were reported, rightly so because they are deleted on line... I'm going by memory at 932.

Quick solution as I did was to comment out the line and relaunch LOG_HUNTER, but if I hadn't looked at the logs materially via SSMS I would have missed that there is some application trying to connect to databases that are not available or in an inaccessible state (let's also say that they are being discontinued).

In any case, someone forgot something on. Hence...
Do you think it might be of value to insert a parameter like:

  • @please_not_delete = 'Login failed for'
    or
    more dramatic @please_bring_all_them_home = 'Login failed for'

Alen, Italy

I really don't care about this. If you would like to code it, I'll accept a pull request.

Thanks!

@acappelletti I haven't heard back from you on this, so I'm going to close it out. If you decide you want to work on it, let me know and I'll reopen the issue. Thanks!