Solved

login info in sql error log

Posted on 2011-03-01
6
401 Views
Last Modified: 2012-05-11
is there a reason why sql server does not put the corresponding login in error log.? they put spid, but a spid that is weeks old - is it useful to anyone?

thanks
0
Comment
Question by:anushahanna
  • 3
  • 2
6 Comments
 
LVL 39

Accepted Solution

by:
BrandonGalderisi earned 167 total points
ID: 35010553
Well you are reviewing logs that are weeks old :D.  Is it necessary to know the login for which an error occurred?  If you are trying to track down some sort of security breach, the error log will likely not help.
0
 
LVL 39

Assisted Solution

by:lcohan
lcohan earned 333 total points
ID: 35011677
0
 
LVL 6

Author Comment

by:anushahanna
ID: 35015714
>>Is it necessary to know the login for which an error occurred?
at least that is more helpful than a SPID, not? :)

>>security breach, the error log will likely not help.
so what is the best bet to check something for security audit, when it was not pre-planned- what is the best we have in SServer?
0
Microsoft Certification Exam 74-409

VeeamĀ® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 6

Author Comment

by:anushahanna
ID: 35015720
lcohan, helpful with parameters -thank you.
0
 
LVL 39

Assisted Solution

by:lcohan
lcohan earned 333 total points
ID: 35018107
[
>>Is it necessary to know the login for which an error occurred?
at least that is more helpful than a SPID, not? :)
]
I would use SQL profiler and in there you select hostname, loginname, error, and any other columns you want then run it filtered where error > 0. SQL Logs have different purpose.

[
>>security breach, the error log will likely not help.
so what is the best bet to check something for security audit, when it was not pre-planned- what is the best we have in SServer?
]


your OS event viewer has detailed info about any "security breach"
0
 
LVL 6

Author Comment

by:anushahanna
ID: 35030254
very fine - thanks!
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now