How can i get windows events app and events system logs ?

chocolade

New Member
Messages
36
It should be two files text files one for apps events and one for the system events.
This is an example about how the format of the text files and what content should be inside:


Event[0]:
Log Name: Application
Source: ESENT
Date: 2013-02-25T03:18:39.000
Event ID: 105
Task: General
Level: Information
Opcode: Info
Keyword: Classic
User: N/A
User Name: N/A
Computer: Chocolade
Description:
msiexec (48672) Instance: The database engine started a new instance (0). (Time=0 seconds)

Internal Timing Sequence: [1] 0.000, [2] 0.000, [3] 0.063, [4] 0.031, [5] 0.000, [6] 0.000, [7] 0.000, [8] 0.000, [9] 0.000, [10] 0.000.


Event[1]:
Log Name: Application
Source: ESENT
Date: 2013-02-25T03:18:39.000
Event ID: 326
Task: General
Level: Information
Opcode: Info
Keyword: Classic
User: N/A
User Name: N/A
Computer: Chocolade
Description:
msiexec (48672) Instance: The database engine attached a database (1, C:\ProgramData\Microsoft\Windows\AppRepository\PackageRepository.edb). (Time=0 seconds)

Internal Timing Sequence: [1] 0.000, [2] 0.015, [3] 0.000, [4] 0.000, [5] 0.000, [6] 0.016, [7] 0.000, [8] 0.000, [9] 0.000, [10] 0.000, [11] 0.000, [12] 0.000.
Saved Cache: 1


I have two text files with it which i didn't create but i want to create or if the files are exist somewhere in windows directories then just copy the files.
If not exist then make a bat(batch) file that will create/copy the files for me.

I just attached to this thread the two files the eventsys and eventapp so you can see how the files is format and what content there is inside. I want to make a bat file that will create this files automatic when i run the bat file or if the files exist already then a bat file that will copy the files automatic to another location.


BUT ! i cant find this files or similar files with this content any where on my hard disk.
 

My Computer

System One

  • OS
    windows 8 64 bit
What are you trying to accomplish? Can you identify some specific issue you are having that might be directly associated with these event logs? BTW, the logs you posted in your description appear to just be informational logs.
 

My Computer

System One

  • OS
    Windows 8 Pro Windows 8.1 Preview
    Computer type
    PC/Desktop
What are you trying to accomplish? Can you identify some specific issue you are having that might be directly associated with these event logs? BTW, the logs you posted in your description appear to just be informational logs.


I know they are just informational logs. I need them not to identify a problem at this moment but to a program im doing that will help much easier to collect all files/logs need later to identify problems.

So when someone else will use my program this files also will be part of the zip/rar file with all
informational files.

 

My Computer

System One

  • OS
    windows 8 64 bit
What are you trying to accomplish? Can you identify some specific issue you are having that might be directly associated with these event logs? BTW, the logs you posted in your description appear to just be informational logs.


I know they are just informational logs. I need them not to identify a problem at this moment but to a program im doing that will help much easier to collect all files/logs need later to identify problems.

So when someone else will use my program this files also will be part of the zip/rar file with all
informational files.


OK, I dont see where the logs are identifying any problem. It just looks like a connection notification. As for your response, I don't quite understand it so good luck and hang in there because someone may try to help you with whatever issue you perceive you are having. Good luck.
 

My Computer

System One

  • OS
    Windows 8 Pro Windows 8.1 Preview
    Computer type
    PC/Desktop
Pardon me for butting in here, but I think chocolade wants to know the command line for saving the event viewer logs in a text format (so they can include it in a program that they are writing). It's what the data collection app for BSOD's does with the EventApp.txt and EventSys.txt files.

I'd suggest asking Captain Jack or Brink
 

My Computer

System One

  • OS
    Win8.1Pro - Finally!!!
    Computer type
    Laptop
    System Manufacturer/Model
    Samsung/NP780
    CPU
    Came with the laptop (i7 of some sort)
    Motherboard
    Pretty sure that it has one, but haven't checked inside the case!
    Memory
    upgraded to 12 gB from 8 gB
    Graphics Card(s)
    has switchable - Intel/ATI - Used wrong drivers, now ATI card is inop :( Will have to fix it soon!
    Sound Card
    I'm nearly deaf, so this isn't used often
    Monitor(s) Displays
    Touchscreen on laptop/32" Toshiba on HDMI (laid the Sharp TV on a mouse and cracked the screen!)
    Screen Resolution
    800x600
    Hard Drives
    One Samsung 1tB drive - 5400 rpm. Gonna switch to a 7200/10000 rpm or an SSD (if I can find $500 for a 1tB SSD!)
    - Switched to 500 gB Samsung 840 series SSD - WOW!!!
    PSU
    Why do we ask this for laptops?
    Case
    Silver with a neat Samsung logo
    Cooling
    sub-par, gotta get around to working on it soon Worked on it - still sub-par! :(
    Keyboard
    Microsoft Natural - the same one I've used since it orignally came out around 1995
    Mouse
    no Mouse - Trackball!!!!
    Internet Speed
    too slow when I'm waiting for a download to finish
    Browser
    Yes, I use this (Firefox mostly, w/IE next most)
    Antivirus
    Windows Defender and Windows Firewall
    Other Info
    I'm handsome and a snappy dresser :0)
Back
Top