Robotic Process Automation (RPA)

 View Only
  • 1.  Are rows from "Log" activities on information level stored locally? Where?

    Posted Sat May 21, 2022 03:35 AM
    I would like to read logging info from the standard "Log" activities (Information level) on the machine i'm running on. I can only find log files that hold errors etc. Do I need to change settings somewhere to include this level? Where can I find the files?

    ------------------------------
    David Fredriksson
    ------------------------------


  • 2.  RE: Are rows from "Log" activities on information level stored locally? Where?

    IBM Champion
    Posted Mon May 23, 2022 08:55 AM
    Hi David,

    The logs can be found at "%localappdata%\IBM Robotic Process Automation​".

    More information is available here: https://www.ibm.com/docs/en/rpa/21.0?topic=management-log-viewer

    Regards,



    ------------------------------
    Vinicius Marques
    ------------------------------



  • 3.  RE: Are rows from "Log" activities on information level stored locally? Where?

    Posted Mon May 23, 2022 09:07 AM
    Thanks! Found a testrow in one of the files now.

    Covered in a lot of "crap" though. You wouldn't know where the below stuff comes from, would you...?



    2022-05-23 14:56:37.6055385ERRORClientBehaviorStudioSystem.ServiceModel.CommunicationException: There was an error reading from the pipe: The pipe has been ended. (109, 0x6d). ---> System.IO.IOException: The read operation failed, see inner exception. ---> System.ServiceModel.CommunicationException: There was an error reading from the pipe: The pipe has been ended. (109, 0x6d). ---> System.IO.PipeException: There was an error reading from the pipe: The pipe has been ended. (109, 0x6d).

       at System.ServiceModel.Channels.PipeConnection.OnAsyncReadComplete(Boolean haveResult, Int32 error, Int32 numBytes)

       --- End of inner exception stack trace ---

       at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)

       at System.ServiceModel.Channels.ConnectionStream.EndRead(IAsyncResult asyncResult)

       at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult)

       --- End of inner exception stack trace ---

       at System.Net.Security.NegotiateStream.EndRead(IAsyncResult asyncResult)

       at System.ServiceModel.Channels.StreamConnection.EndRead()

       --- End of inner exception stack trace ---

       at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)

       at System.ServiceModel.Channels.TransportDuplexSessionChannel.EndTryReceive(IAsyncResult result, Message& message)

       at System.ServiceModel.Dispatcher.DuplexChannelBinder.EndTryReceive(IAsyncResult result, RequestContext& requestContext)

       at System.ServiceModel.Dispatcher.ErrorHandlingReceiver.EndTryReceive(IAsyncResult result, RequestContext& requestContext)(null)



    ------------------------------
    David Fredriksson
    ------------------------------



  • 4.  RE: Are rows from "Log" activities on information level stored locally? Where?

    IBM Champion
    Posted Mon May 23, 2022 09:52 AM
    Here is how I deal with it:

    1. Install/execute DB Browser for SQLite (there is a portable version as well).
    2. Open the log file in it (you can drag and drop)
    3. Go the the "Browse Data" tab
    4. Apply the filter to the "Logger" column

    Now the resulting lines will only be the ones you set with the Log Message command. I find this very useful when debugging.



    ------------------------------
    Vinicius Marques
    ------------------------------



  • 5.  RE: Are rows from "Log" activities on information level stored locally? Where?

    Posted Mon May 23, 2022 10:15 AM
    Good tip, thanks!

    Do you recongize the error...?

    ------------------------------
    David Fredriksson
    ------------------------------



  • 6.  RE: Are rows from "Log" activities on information level stored locally? Where?

    IBM Champion
    Posted Mon May 23, 2022 10:31 AM
    Not really. I have the feeling I saw it before, but I might have just ignored it if it did not impact the execution.

    ------------------------------
    Vinicius Marques
    ------------------------------