IPA console Log

Sort:
You are not authorized to post a reply.
Author
Messages
adnan512
Advanced Member
Posts: 24
Advanced Member
    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
    Veteran Member
      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
      Kelly Meade
      J. R. Simplot Company
      Boise, ID
      adnan512
      Advanced Member
      Posts: 24
      Advanced Member
        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.