|
I create event logs for asp.net projects error logging. I do it by adding a key in regedit, and then a sub-key.
Sometimes, I create a new key and sub-key, and instead of getting a new, empty event log, I see in the event viewer that it's showing me the...
Started by Lea Cohen on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Reg key....
The solution was to create an event log with a different name.
CategoryCount) It seems that the problem was that we had already created an event log with that name, and even though we deleted it, it didn't help.
|
|
When should I log a message to the event log? Is there an accepted best practice for whether a particular event...
Needs to be logged to the event log at all Is an error or a warning Is important enough info to logged as an info event in the event log...
Started by RichAmberale on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Log as an Error if you....
Log as a Warning if you have something to say that you think someone should know about.
Log as informational if you have something to say that you think someone might possibly read.
There's no single standard.
|
|
Hello guys.
I built (just for fun) 3 classes to help me log some events in my work.
here are them:
class logMessage: def __init__(self,objectName,message,messageType): self.objectName = objectName self.message = message self.messageType = messageType ...
Started by George on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Module in every file you want to log from and do something like.
|
Ask your Facebook Friends
|
Is there a way to search all the event-logs on a LAN for a specifc event?
Started by cagcowboy on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at serverfault):
You can search the event log on remote machines with....
You could broadcast the Windows event log events to a syslog server using a tool like the Eventlog to Syslog Service utility or a software like EventLog Inspector .
|
|
I am trying to use the Event Log to write some debug information and I can't make it works. It complains about not being able to find the Event Source. Do I have to install something on the OS?
Started by Pokus on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
What....
Daok's code above should get you going.
Project? I'm currently using this line to write to the event log will create the Event for you if (!System.Diagnostics.EventLog.SourceExists(eventLogSource the event source first.
|
|
Hi All,
I have a windows service that fails to start under some circumstances. When it fails to start the sequence of events suggest that my .NET code in the service has probably run, but no event log messages appear.
Event log messages show up when the...
Started by peter on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Its unlikely the service will log much explicitly....
Thats the developers job :)
The event log requires explicit logging actions the starting code in a try..catch to capture the error message.
To the event log...
|
|
Hi,
Something here doesn't feel right to me here, and so I would like the community's input - perhaps I am approaching this in the wrong way....
Q: Is is appropriate to use traditional infrastructure logging frameworks (like log4net) to log business events...
Started by Sosh on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
If it is a business class citizen as a full service... .
Write your own system to log business events.
Class TransactionLogger { public void Log (Message message) { MyLoggingFramework.Log(message.string, etc a tool to help the developers.
|
|
I have a server that contains Team Foundation Server which we use for source control. This server is windows server 2003, however it is not our domain server.
When we do a large 'get latest version' on a client machine with TFS, it tends to run slow and...
Started by wayne on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at serverfault):
A logon event is really.
It depends.
For privilage seperation but doing so in an inefficient manner .
|
|
I'm trying to debug a strange rendering/interaction issue with a web application in IE and thought I'd peek at the event viewer in Windows (XP) to see if anything odd was happening at the same time.
I see categories for System , Security , Application...
Started by scunliffe on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at serverfault):
It is empty because by default it is not told to log them, a setting called Application Compatibility Logging
What CodeByMoonlight provided....
That category was added to the Event Viewer with the installation of Internet Explorer 7.
|
|
How do you troubleshoot events that are not clear when you read them?
Is there a website to search for those Event IDs and errors?
In the following example event it is clear that the gateway resolution fails for the network location awareness service,...
Started by TomWij on
, 4 posts
by 3 people.
Answer Snippets (Read the full thread at serverfault):
For the other part of your question: The 0x43 in windows networking world a pattern(like are they occuring after a specific... .
All in all its a hunt the thimble game and you'll get better at it as you in the event viewer.
For other log messages.
|