Log errors to filesystem only

Drammy

Member
Hi all,

Apologies if I have posted in the wrong forum.

I have a .r file that I need to run in batch mode. Currently it throws errors to the screen. I have no means of changing this but was wondering if there is a startup parameter I can use to stop the messages appearing on screen and log them instead?



Thanks,
Drammy
 
You can redirect the output in the startup command line.

So, if your startup line is something like
"C:\Program Files\Progress91e\bin\prowin32.exe" -pf startup.pf
you can change it to
"C:\Program Files\Progress91e\bin\prowin32.exe" -pf startup.pf > c:\logs\startup.log

In UNIX the same structure works:
/dlc/bin/_mpro -pf /data/pf/startup.pf
becomes
/dlc/bin/_mpro -pf /data/pf/startup.pf > /logs/startup.log

You need to make sure the directory you are writing to exists and you have permission to write to the directory, but it should work. I used it to record the ouput for crontab jobs running MFG/PRO batch jobs.
 
Back
Top