Menu

Adding report id, data source or other parameters to logging

ART Help
Fugerit
2020-02-04
2020-02-06
  • Fugerit

    Fugerit - 2020-02-04

    A typical line of logging in the ART_LOGS table is
    2020-02-04 19:03:21 myuser report 192.168.1.1 1 0 0 htmlDataTable, myparam: myvalue

    The message in this case is :
    htmlDataTable, myparam: myvalue

    Is it possible to add to the message some other information (i'm especially interested in report id and data source).

    Thanks in advance.

     
  • Timothy Anyona

    Timothy Anyona - 2020-02-05

    There's an item_id column in that table (previously it was named query_id). This has the report id. The datasource you can get from the report id.

     
  • Fugerit

    Fugerit - 2020-02-06

    Ok thanks for the answer. was very helping.
    Only I cannot find a table where i can find the report metadata, is there any?

     
  • Timothy Anyona

    Timothy Anyona - 2020-02-06

    The art_queries table has details about the report.

     

Log in to post a comment.

MongoDB Logo MongoDB