Solved

Creating a custom Windows error log in server 2012

Posted on 2014-03-11
3
439 Views
Last Modified: 2014-03-12
HI,  We're lookin to create a custom event log in windown 2012 server.
Is this possible?  We dont seem to be able to do it via the computer mgt section.
0
Comment
Question by:wannabecraig
  • 2
3 Comments
 
LVL 19

Expert Comment

by:Peter Hutchison
ID: 39921158
You can use Powershell's New-EventLog command to create a custom event log.
0
 
LVL 1

Author Comment

by:wannabecraig
ID: 39923100
When I do that it asks for a 'source'.  What exactly is that?
0
 
LVL 19

Accepted Solution

by:
Peter Hutchison earned 500 total points
ID: 39923113
The source is the name application program or library DLL  that is generating the custom events.
So if you have written your own application that creates events, you specify the name of the application, also specify the MessageResourcefile option.
e.g.
C:\PS>new-eventlog -source TestApp -logname TestLog -MessageResourceFile C:\Test\TestApp.dll
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

In my previous 24 VMware Articles (http://www.experts-exchange.com/ARTH_1864316.html?arthOrderBy=3&arthSort=1#arth), most featured Intermediate VMware Topics. My next series of articles concentrated on topics for the VMware Novice;   If you would…
The article will show you how you can maintain a simple logfile of all Startup and Shutdown events on Windows servers and desktops with PowerShell. The script can be easily adapted into doing more like gracefully silencing/updating your monitoring s…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…

773 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