Event log Windows

Find and share HowTos to various installations / configurations!
Search

Post Reply
3 posts • Page 1 of 1
orla090978
Posts: 15
Joined: Thu Jan 03, 2019 1:05 pm

Event log Windows

Post by orla090978 » Fri Sep 06, 2019 6:23 am

Good Morning,

VIa WinCC OA is there any possility to write a directly event log of WinCC OA (LOGIN/LOGOUT) to Windows event log?
For example between a script dedicated.

Best regards

dbindernagel
Posts: 42
Joined: Mon Feb 23, 2015 12:34 pm

Re: Event log Windows

Post by dbindernagel » Fri Sep 06, 2019 12:41 pm

I have never tried this myself but maybe it helps:

On Windows you can use the "eventcreate" command to add entries to the eventlog.
(Just enter "eventcreate /?" into a command line for the syntax.)

You could call this command in WinCC OA with the CONTROL function "system()".
(See WinCC OA help file for more info about the "system ()"function.)

orla090978
Posts: 15
Joined: Thu Jan 03, 2019 1:05 pm

Re: Event log Windows

Post by orla090978 » Wed Sep 18, 2019 5:20 am

Thank you so much! it works!

Post Reply
3 posts • Page 1 of 1