Solved

Creating a custom Windows error log in server 2012

Posted on 2014-03-11
3
432 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Remote Desktop Certificates 6 45
website cannot open inside the network 16 54
Remote Desktop GATEWAY server 2008 to 2012 cutover 5 49
Shrink volumes 3 24
In my previous Experts Exchange Articles (http://www.experts-exchange.com/ARTH_1864316.html?arthOrderBy=3&arthSort=1#arth), most have featured Basic and Intermediate VMware Topics.  As a Virtualisation Consultant, we implement many different virtual…
OfficeMate Freezes on login or does not load after login credentials are input.
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…

867 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

18 Experts available now in Live!

Get 1:1 Help Now