Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Integration / Customization
IPA/ProcessFlow
IPA console Log
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
LindseyC
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5183
People Online:
Visitors:
314
Members:
0
Total:
314
Online Now:
New Topics
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3288
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1348
Roger French
1311
mark.cook
1244
Forums
Unanswered
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
IPA/ProcessFlow
IPA console Log
Sort:
Oldest First
Most Recent First
You are not authorized to post a reply.
Author
Messages
adnan512
Advanced Member
Posts: 24
3/17/2016 8:53 PM
Does anyone know a java script to write the IPD console log to a local file?
Log buffer statements
By default, Infor Process Automation holds 10000 bytes of log file data in buffer memory before writing it to the log file. Administrators can change this setting in Infor Rich Client.
Process developers can also add JavaScript statements for handling the buffer to a process. Following are the available statements:
processlog.info: Send processing information currently in the buffer to the log file.
processlog.error: Send processing errors currently in the buffer to the log file.
processlog.flush: Flush the log buffer. Send all data currently in the buffer to the log file.
Woozy
Veteran Member
Posts: 709
3/17/2016 9:28 PM
Hi adnan512,
I don't believe this is possible using IPA - certainly not easily. The developers specifically went away from file-based logs for IPA for management and performance reasons and moved the logs to the database instead. Writing to the file system is very slow and system intensive. Writing to the database is still slower than not logging, but it's much faster than writing to a file.
The statements you list are specifically intended to allow data to be written to the (database) log when needed rather than waiting for the 10000 byte chunk. None of them are intended to write to a file system file, but rather to the database log file in PFIWORKUNIT.LOG or S$PFIWU.LOG (if you are set up with split LOB).
What exactly are you trying to accomplish? Just trying to mimic what LSF PFI was doing?
Kelly
adnan512
Advanced Member
Posts: 24
3/18/2016 4:45 PM
Well, lot of times I have to write custom ad-hoc flows to update security or disabled mass user etc. I don't like to upload these flows to the server but rather run it locally on my PC. Performance is not an issue here. I just wanted to write console log to a file because I have noticed that it will slow down the flow when log gets bigger. I pause the flow and manually copy and paste the log into a text file and clear console log and continue the flow. I don't have an intent to run the flows on the server b/c then I have to build file path etc. Plus, I like to watch it with a break point before kicking if off full speed.
You are not authorized to post a reply.