Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi
I want to relocate an application log to a log folder. I tried to write the path in the box Title after checking the box Generate Logfile who is in the following menu
Setting -> Document Properties -> General.
I used an include sentence, but it didn't work well.
Could someone give me an example of how to do it, please?
Many thanks
I use as a good practice, a small piece of script that after load, create a copy of the log in other folder specifying , the username , date and app name in a specific folder, then the logs can be analized from a qv application that analize the log.
This is the conceptual piece of script
tablename:
LOAD * INLINE [
F1
hola
];
let vuser=osuser();
let vfile=DocumentName();
let vfecha=timestamp(now(),'YYYYMMDDhhmmss');
//exit script;
execute cmd.exe /C copy $(vfile).log $(vfecha)&$(vuser)&$(vfile).log;