Page 1 of 1

how to view logs on desktopUI

Posted: Tue Oct 02, 2018 3:57 pm
by eivanovic
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.

Re: how to view logs on desktopUI

Posted: Tue Oct 02, 2018 5:11 pm
by mkoller
"A desktop UI does not have a logViewer" ... well, it kind of has. But you need to show it from a script:
openLogViewer()

Re: how to view logs on desktopUI

Posted: Wed Oct 03, 2018 9:25 am
by eivanovic
Thank you Martin ... This is good to know!