Writing to process logs

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Writing to process logs

  • Creator
    Topic
  • #50599
    Chris Williams
    Participant

      Running 5.2.1 on HP-UX 11i

      In the TrxId proc I write to the process log. For the same message I will also write to the process log from within the xlate. Does anyone know why the echo/puts calls from the xlate sometimes arrive in the log before the ones from the TrxId proc?

      Thanks.

    Viewing 0 reply threads
    • Author
      Replies
      • #66739
        Charlie Bursell
        Participant

          Is has to do with the way the data is buffered by the OS.  If you want to make sure the echo or puts shows up immediately follow the echo/put with a flush command.  

                                       flush stdout

      Viewing 0 reply threads
      • The forum ‘Cloverleaf’ is closed to new topics and replies.