Hi,
I am new to power builder, have some query
1) To capture db logs, enable DB trace options in *.ini file and database logs are capturing successfully.
But every time logging in application it shows popup dialog to start & capture logs. I had changed show dialog option as 0 but even still it shows popup.
Below are database trace option used in *.ini file
[DbTrace]
ShowDBINames=0
FetchBuffers=1
ShowBindings=1
SumTiming=1
Timing=1
ShowDialog=0
LogFileName=logs\dbtrace.log
2) I want to capture event logs, how can I start and capture event error logs and to write in file
1) Yes, that is another way - but outside of your Apps processing vs SQLPREVIEW which is inside your Apps processing control. This would allow you more control, formatting & capture of DBMS interactions vs reading & deciphering the external log file.
2) Yes, you would need to read & parse this external file.
3) Have a look in the PB Help file starting with the TraceOpen, TraceBegin, etc commands