how to view logs on desktopUI

Find and share HowTos to various installations / configurations!
Search

Post Reply
3 posts • Page 1 of 1
User avatar
eivanovic
Posts: 69
Joined: Wed Sep 03, 2014 12:35 pm

how to view logs on desktopUI

Post by eivanovic » Tue Oct 02, 2018 1:57 pm

A desktop UI does not have a logViewer, but you can view the log files of the cache directory under:

Windows - C:\\Users\\\\.wincc_oa-cache\\\\log>
or
Linux - /home//.wincc_oa-cache//log

The Linux shell command "tail -f" can be used to view the files continuously in your shell.
NOTE: The tail command can also be used under Windows, if you install the necessary Linux tools (e.g: Cygwin,...etc.)

To view the UI log you can do following:

1) open a command window and switch to the log directory of your cached project.
C:\\Users\\\\.wincc_oa-cache\\\\log>

2) run the following command:
tail -f *ui*.log

This will provide you with continuous logs of the UI in your command window.

User avatar
mkoller
Posts: 741
Joined: Fri Sep 17, 2010 7:03 am

Re: how to view logs on desktopUI

Post by mkoller » Tue Oct 02, 2018 3:11 pm

"A desktop UI does not have a logViewer" ... well, it kind of has. But you need to show it from a script:
openLogViewer()

User avatar
eivanovic
Posts: 69
Joined: Wed Sep 03, 2014 12:35 pm

Re: how to view logs on desktopUI

Post by eivanovic » Wed Oct 03, 2018 7:25 am

Thank you Martin ... This is good to know!

Post Reply
3 posts • Page 1 of 1