Registering log statements with application.log

Hello,
I'm struggling with how to direct my log statements to application.log. If I just initialize a logger via java.util.logging within my application, its log messages are routed to the opmn log (unless I add a filter redirecting them to a file). Likewise, if I use System.out, they go to opmn. What's the best practice for directing your application log statements to application.log (note, I'm deploying to oc4j). Any help would be appreciated.
Thanks.

^ ...specifically, how do I print to application.log from the EJB app.

Similar Messages

  • Performance Issue with application logs

    Hi
    Has any one come across or aware how to address a issue in Event Management on R/3 as well as SCM side where the application log tables (BALDAT) are loaded causing peformance issue to the system?I have checked the SAP notes in this connection but its not of any help.Any event change is causes lot of logs registration.
    Thanks in advance
    Anders.

    Hello Anders,
    on R/3 side you can disable logs in transaction /SAPTRX/ASC0AO on AO Type and Event type level.
    In the EM/SCM system you have per Event Handler Type options to control the log in transaction /SAPTRX/TSC0TT.
    Logs for Event Messages can be disabled in transaction /SAPTRX/TSC0MBF.
    Recommendation is that you disable all logging in big production environments and only enable it when you have any problems.
    Best regards,
    Steffen

  • How to get event's application log handle for application log mssg

    Hi,
    I would like to get the application log handle for an event call, can someone pls help.
    Rgds.

    Hello wong ,
    Did u get the solution for this respective query.
    if so can u please send it to me also .
    i am struck over with the similar problem.
    Thanks,
    pavankumar.

  • Windows Server 2008 R2 - System State Backup - Application Log: CAPI2 513

    When performing a system state backup from wbadmin, I get...
    Creating a shadow copy of the volumes specified for backup...
    Creating a shadow copy of the volumes specified for backup...
    Please wait while system state files to back up are identified.
    This might take several minutes...
    Summary of the backup operation:
    The backup of the system state failed [12/15/2011 6:38 PM].
    Log of files successfully backed up:
    C:\windows\Logs\WindowsServerBackup\Backup-15-12-2011_18-38-05.log
    Log of files for which backup failed:
    C:\windows\Logs\WindowsServerBackup\Backup_Error-15-12-2011_18-38-05.log
    The operation ended before completion.
    The system writer is not found in the backup.
    In the event log, I get...
    Log Name: Application
    Source: Microsoft-Windows-CAPI2
    Date: 12/15/2011 6:38:24 PM
    Event ID: 513
    Task Category: None
    Level: Error
    Keywords: Classic
    User: N/A
    Computer: Server1.domain.com
    Description:
    Cryptographic Services failed while processing the OnIdentity() call in the System Writer Object.
    Details:
    AddCoreCsiFiles : GetNextFileMapContent() failed.
    System Error:
    The parameter is incorrect.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
    <Provider Name="Microsoft-Windows-CAPI2" Guid="{5bbca4a8-b209-48dc-a8c7-b23d3e5216fb}" EventSourceName="Microsoft-Windows-CAPI2" />
    <EventID Qualifiers="0">513</EventID>
    <Version>0</Version>
    <Level>2</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8080000000000000</Keywords>
    <TimeCreated SystemTime="2011-12-15T23:38:24.430498600Z" />
    <EventRecordID>144157</EventRecordID>
    <Correlation ActivityID="{0450BC50-F800-0002-8457-553A80BBCC01}" />
    <Execution ProcessID="1240" ThreadID="4360" />
    <Channel>Application</Channel>
    <Computer>Server1.domain.com</Computer>
    <Security />
    </System>
    <EventData>
    <Data>
    Details:
    AddCoreCsiFiles : GetNextFileMapContent() failed.
    System Error:
    The parameter is incorrect.
    </Data>
    </EventData>
    </Event>
    The System Writer is not showing up when I view vssadmin list writers.
    I have already tried every tip in the following links:
    http://technet.microsoft.com/en-us/library/cc734021(WS.10).aspx
    http://social.technet.microsoft.com/Forums/en-US/windowsbackup/thread/bb760434-de80-4cb6-ae9e-bd253e4b037c/
    I have also run sfc /scannow and rebooted.  No luck.
    I think the reason none of the tips at the above links work for me is that the System Error is NOT access denied like many others are getting, but is instead
    The parameter is incorrect.  I think that's the key.
    Any ideas why I am getting this error and why my System Writer is nowhere to be found?

    Hi,  
    You mentioned that “The System Writer is not showing up when I view vssadmin list writers.”
    you may reboot the related services or re-register the writers, please refer to:
    How to Re-register Volume Shadow Copy Service (VSS) Components on Windows 2008/Windows 2003.
    http://www.symantec.com/business/support/index?page=content&id=TECH70486
    Best regards,
    Jeff Ren
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Split logs into per application logs

    Hello
    I have several applications or streams that I want to
    seperate into seperate folders in the loging dir. I cant seem to
    find any information on this. I know you can edit logging.xml
    however I cant see how to alter it to support multiple logs
    I presume I need to edit this line to something else
    <Directory>${LOGGER.LOGDIR}</Directory>
    maybe to something like
    <Directory>${LOGGER.LOGDIR}/${APPLICATION}</Directory>
    However im not sure how to get all the application names
    there.

    Hi,
    check below link. It will surely help you solve your problem:
    http://www.dannorris.com/2007/06/13/oracle-http-server-apache-rotatelogs-configuration/
    Regards

  • CF 7 application log

    How do we get errored SQL statements in Application log?
    We upgraded to CF 7 a few months ago - and have not been
    seeing the sql statements in the application log when we have a sql
    error. We see that an error occurred in the log - but don't get the
    actual sql statement that errored out. We saw the sql statement
    that was in error with CF 5.
    I don't have access to the CF Administrator but I've checked
    with the person who takes care of the server and he have been told
    that all of the debugging options are turned on.
    Does anyone know how to get the sql errors to display in the
    logs?

    I get the message when I open try to load ColdFusion
    Administrator page or the index page on the cold fusion web site
    that I am installing.

  • Application messages are in the system log instead of the application log

    Hi SAP GURUS.
    The standard output is created from the outbound delivery .
    All the messages are hitting the system log instead of the application log .
    This is after the upgrade from 4.6c to ECC 6.0 .
    Please provide the details how to move the log to the application log since the output is the standard output (SAP provided output type ).

    verzunof wrote:
    Hello,
    My system.log is filled with these messages, they repeat every second.
    Jan 21 18:31:47 Maki-Mac kernel[0]: AppleFWOHCI_AsyncReceive::waitForDMA - context not going inactive.
    Jan 21 18:31:47 Maki-Mac kernel[0]: AppleFWOHCI_AsyncTransmit::waitForDMA - context not going inactive.
    Do these messages indicate a problem? If so what that could be problem and the solution?
    Can this contribute to the sleep/wakeup problem when iMac won't wakeup after being put to sleep manually and not sleeping according to Power Saving settings?
    Thanks a lot.
    verzunof wrote:
    I'm not certain if those messages indicate a power issue but you can try *resetting the System Management Controller* and see if that helps. Here's how: http://support.apple.com/kb/HT1806
    "The System Management Controller (SMC) is a chip on the logic board that controls all power functions for your computer. If your computer is experiencing any power issue, resetting the SMC may resolve it. The SMC controls several functions, including:
    Telling the computer when to turn on, turn off, sleep, wake, idle, and so forth.
    Handling system resets from various commands.
    Controlling the fans."
    Carolyn

  • Message Count in application log of a job

    After running mass job (example: EA29 - Mass processing of bill printout), there is an option to display the application log.  The application log shows counts for the following: "Success Message", "Statistical Data", "Information", "Normal Error". 
    Are these counts stored somewhere like a database table?

    Hi Blumtain,
    You can find logs in the database with the function module BAL_DB_SEARCH.
    You pass the log header filter criteria (structure BAL_S_LFIL), and a table of log headers (structure BALHDR) which satisfy the criteria is returned. You can pass this to the function module BAL_DB_LOAD, which loads these logs into memory.
    Regards,
    Manish

  • How to setup rotation for application.log?

    In order to get the Portal Performance Statistics running, we need to retrieve the page views from file application.log in directory <ORAHOME>\j2ee\OC4J_Portal\application-deployments\portal\OC4J_Portal_default_island_1.
    This file continues to grow and therefore we want to set up rotation, in order to get one file per day.
    We are following note 264373.1 and have read all documents and manuals about logging, but can not figure out how to manage this.
    Can anyone help us? We are working with 9.0.4.1.
    For Oracle employees: see also tar 4193327.994.

    I can't speak for how portal uses the log file, but in general, the way you do it for a deployed J2EE application on OC4J is as follows.
    Deploy the application EAR file. Lets say the app is called Test.
    In the j2ee/home/application-deployments/Test directory, a file will be created called orion-application.xml.
    If you look in this file, you will see an entry which looks like
    <log>
    <file path="application.log" />
    </log>
    This defines the log file for this application.
    Now if you want to setup log file rotation for this app, edit the orion-application.xml file and firstly, comment out the above.
    Note: you can leave the log tag in if you wish, but you'll get double log messages. Remove it if you do this in production and are trying to conserve space ;-).
    Then add in the below to setup ODL based logging for this application:
    <log>
    <odl path="logdir"
    max-file-size="1000" max-directory-size="10000" />
    </log>
    What this does it to tell OC4J to output the log messages using it's ODL format model, to create a directory called logdir (in the current directory) and then to start writing to log files called log.xml in that directory.
    The max file size of log.xml is 1000KB, and the max directory size of the new logdir directory will be 10MB.
    The ODL logging system will manage the log files in this directory according to these constraints -- when a log file gets bigger than max-file-size it gets archived as logN.xml. When the overall directory size gets bigger than the max-directory-size specified, the oldest log file from the list is removed so that the max directory size is honoured.
    I don't think we can specify a rollover period (ie one day) with ODL. I'm pretty sure it's just file size based only.
    I think the above should apply to Portal since it runs on OC4J. In which case, you'd change the orion-application.zml in the <ORAHOME>\j2ee\OC4J_Portal\application-deployments\portal directory instead of j2ee/home/application-deployments/<app-name>.
    However, I can't speak officially for Portal since I don't work with that product. From a pure OC4J perspective the above holds true and works.
    cheers
    -steve-

  • How we can see application log

    i  have created a application  log and put messages in that..
    how we can see that application log..
    thanks and regards......

    Hi Sharada,
    Use   CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' to display the application log. Displaying application log can be possible in many ways, as a popup window, as normaal one ,as tree. YOu can play around with APPLICATION with these standard programs.
    SBAL_DEMO_01
    SBAL_DEMO_02
    SBAL_DEMO_03
    SBAL_DEMO_04
    SBAL_DEMO_04_*
    SBAL_DEMO_05
    Still if you any need any more on this , let me know.
    <b>Example Program</b>
    * create a log where all message should be added to
      PERFORM log_create.
    * Add information that this is a check for passenger flights
    * this informnation can be added as a free text
      PERFORM msg_add_free_text USING text-002.
        PERFORM msg_add_free_text USING text-003.
    * display log file
      PERFORM log_display.
    * FORM LOG_CREATE
    FORM log_create.
      DATA:
        l_s_log TYPE bal_s_log.
    * define some header data of this log
      l_s_log-extnumber = 'Application Log Demo'.             "#EC NOTEXT
      l_s_log-aluser    = sy-uname.
      l_s_log-alprog    = sy-repid.
    * create a log
      CALL FUNCTION 'BAL_LOG_CREATE'
           EXPORTING
                i_s_log = l_s_log
           EXCEPTIONS
                OTHERS  = 1.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.
    * FORM MSG_ADD_FREE_TEXT
    FORM msg_add_free_text USING value(i_text) TYPE c.
    * add this message to log file
    * (I_LOG_HANDLE is not specified, we want to add to the default log.
    *  If it does not exist we do not care =>EXCEPTIONS log_not_found = 0)
      CALL FUNCTION 'BAL_LOG_MSG_ADD_FREE_TEXT'
           EXPORTING
    *           I_LOG_HANDLE  =
                i_msgty       = 'S'
                i_text        = i_text
           EXCEPTIONS
                LOG_NOT_FOUND = 0
                OTHERS        = 1.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.
    * FORM LOG_DISPLAY
    FORM log_display.
      DATA:
        l_s_display_profile TYPE bal_s_prof,
        l_s_fcat            TYPE bal_s_fcat.
    * get a prepared profile
      CALL FUNCTION 'BAL_DSP_PROFILE_POPUP_GET'
           IMPORTING
                e_s_display_profile = l_s_display_profile
           EXCEPTIONS
                OTHERS              = 1.
      IF sy-subrc <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                 WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    * show log file with modified output profile
    * - we specify the display profile since we created our own
    * - we do not specify any filter (like I_S_LOG_FILTER, ...,
    *   I_T_MSG_HANDLE) since we want to display all messages available
      CALL FUNCTION 'BAL_DSP_LOG_DISPLAY'
           EXPORTING
    *           I_S_LOG_FILTER         =
    *           I_T_LOG_CONTEXT_FILTER =
    *           I_S_MSG_FILTER         =
    *           I_T_MSG_CONTEXT_FILTER =
    *           I_T_LOG_HANDLE         =
    *           I_T_MSG_HANDLE         =
                i_s_display_profile    = l_s_display_profile
           EXCEPTIONS
                OTHERS                 = 1.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    Regards,
    Raghav

  • OC4J Logging into Application.log

    Hi someone,
    i try to log into the Application.log configure in the orion-application.xml.
    how can do this in Java?
    Thanks to all for help
    Matthias

    After 10 Hours i find the solution ;-(
    The Application.log can be write with this code:
    FacesContext fc = FacesContext.getCurrentInstance();
    ServletContext sc = (ServletContext) fc.getExternalContext().getContext();
    sc.log("My log message for Application.log");
    very simple but not find in the OC4J Doc's

  • Write error log to Application log

    Hi All ,
    I am new to APO area . I am writing a report in APO and the requirement here is to write the error log to the application log .  Can anyone help explain the process o hot to write the error log to  application log . If possible please help me with some code .
    Thanks ,
    Daniel.

    Hi Daniel,
             Refer the below code for writing the application log.
    .<a href="/people/kamalkumar.ramakrishnan/blog/2007/01/10/a-primer-on-using-and-creating-sap-application-log on Application Log</a>
    Regards,
    Siva.
    Create a Application log
        CALL FUNCTION 'BAL_LOG_CREATE'
          EXPORTING
            i_s_log                 = g_bal_log
          IMPORTING
            e_log_handle            = g_log_handle
          EXCEPTIONS
            log_header_inconsistent = 1
            OTHERS                  = 2.
        IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
      ENDIF.
    loop at g_return.
      g_log_mess-msgty     = g_return-type.
      g_log_mess-msgid     = g_return-id.
      g_log_mess-msgno     = g_return-number.
      g_log_mess-msgv1     = g_return-message.
      g_log_mess-msgv2     = g_return-message_v1.
      g_log_mess-msgv3     = g_return-message_v2.
      g_log_mess-msgv4     = g_return-message_v3.
      g_log_mess-probclass = 'Error Class'.
    appemd g_log_mess.
    endloop.
    add this message to log file
      CALL FUNCTION 'BAL_LOG_MSG_ADD'                          
        EXPORTING
          i_s_msg       = g_log_mess
        EXCEPTIONS
          log_not_found = 0
          OTHERS        = 1

  • Creating Application Log

    HI SAP Gurus,
    Please let me know the purpose of application log and the creation of it.
    I am strugling with one standard report which have a BADI to it. 
    It is equipement status report(IW38).
    In the production we find some equipments which are not serviceable even all the orders are done.
    I need to find the reason for that.  So, i was sugested to create application logs. But i dont know about it.  Please let me know.
    Will be rewarded with points.
    Regards,
    Kishore

    Hi
    Look at the Tcode <b>SLG1</b> which gives the application log
    You have to create a Object, Subobject for your application to see your own tcode log
    and you can use the following fun modules in your code as per the requirement
    SBAL                           Application Log: Collect Messages                             
    BAL_GLB_SEARCH_LOG             Application Log: Global: Find log(s) (in memory)              
    BAL_GLB_SEARCH_MSG             Application Log: Global: Find message(s) (in memory)          
    BAL_LOG_CREATE                 Application Log: Log: Create with Header Data                 
    BAL_LOG_EXCEPTION_ADD          Application Log: Log: Add Exception                           
    BAL_LOG_EXCEPTION_CHANGE       Application Log: Log: Exception: Change                       
    BAL_LOG_EXCEPTION_DELETE       Application Log: Log: Delete Exception                        
    BAL_LOG_EXCEPTION_READ         Application Log: Log: Exception: Read Data and Texts          
    BAL_LOG_EXC_ADD                Application Log: Log: Exception: Add                          
    BAL_LOG_HDR_CHANGE             Application Log: Log: Header data: Change                     
    BAL_LOG_HDR_READ               Application Log: Log: Header Data: Read Data and Texts        
    BAL_LOG_MSG_ADD                Application Log: Log: Message: Add                            
    BAL_LOG_MSG_ADD_FREE_TEXT      Application Log: Log: Message: Insert as free text            
    BAL_LOG_MSG_CHANGE             Application Log: Log: Message: Change                         
    BAL_LOG_MSG_CUMULATE           Application Log: Log: Message: Add Cumulatively               
    BAL_LOG_MSG_DELETE             Application Log: Log: Message: Delete                         
    BAL_LOG_MSG_DELETE_ALL         Application Log: Log: Message: Delete All Messages            
    BAL_LOG_MSG_READ               Application Log: Log: Message: Read data and texts            
    BAL_LOG_REFRESH                Application Log: Log: Delete log from memory                                                                               
    SBAL_DB                        Application Log: Database Interface                         
    BAL_ARCHIVE_LOAD               Application Log: Archive: Load Logs                         
    BAL_ARCHIVE_SEARCH                                                                         
    BAL_DB_DELETE                  Application Log: Database: Delete Logs from Database        
    BAL_DB_LOAD                    Application Log: Database: Load Logs                        
    BAL_DB_SAVE                    Application Log: Database: Save logs                        
    BAL_DB_SEARCH                  Application Log: Database: Find Logs         
    Regards
    Anji

  • Can't create log file with java.util.logging

    Hi,
    I have created a class to create a log file with java.util.logging
    This class works correctly as standalone (without jdev/weblogic)
    import java.io.IOException;
    import java.text.DateFormat;
    import java.text.SimpleDateFormat;
    import java.util.Date;
    import java.util.logging.*;
    public class LogDemo
         private static final Logger logger = Logger.getLogger( "Logging" );
         public static void main( String[] args ) throws IOException
             Date date = new Date();
             DateFormat dateFormat = new SimpleDateFormat("yyyyMMdd");
             String dateStr = dateFormat.format(date);
             String logFileName = dateStr + "SEC" + ".log";
             Handler fh;          
             try
               fh = new FileHandler(logFileName);
               //fh.setFormatter(new XMLFormatter());
               fh.setFormatter(new SimpleFormatter());
               logger.addHandler(fh);
               logger.setLevel(Level.ALL);
               logger.log(Level.INFO, "Initialization log");
               // force a bug
               ((Object)null).toString();
             catch (IOException e)
                  logger.log( Level.WARNING, e.getMessage(), e );
             catch (Exception e)
                  logger.log( Level.WARNING, "Exception", e);
    }But when I use this class...
    import java.io.File;
    import java.io.IOException;
    import java.text.DateFormat;
    import java.text.SimpleDateFormat;
    import java.util.Date;
    import java.util.logging.FileHandler;
    import java.util.logging.Handler;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import java.util.logging.XMLFormatter;
    public class TraceUtils
      public static Logger logger = Logger.getLogger("log");
      public static void initLogger(String ApplicationName) {
        Date date = new Date();
        DateFormat dateFormat = new SimpleDateFormat("yyyyMMdd");
        String dateStr = dateFormat.format(date);
        String logFileName = dateStr + ApplicationName + ".log";
        Handler fh;
        try
          fh = new FileHandler(logFileName);
          fh.setFormatter(new XMLFormatter());
          logger.addHandler(fh);
          logger.setLevel(Level.ALL);
          logger.log(Level.INFO, "Initialization log");
        catch (IOException e)
          System.out.println(e.getMessage());
    }and I call it in a backingBean, I have the message in console but the log file is not created.
    TraceUtils.initLogger("SEC");why?
    Thanks for your help.

    I have uncommented this line in logging.properties and it works.
    # To also add the FileHandler, use the following line instead.
    handlers= java.util.logging.FileHandler, java.util.logging.ConsoleHandlerBut I have another problem:
    jdev ignore the parameters of the FileHandler method .
    And it creates a general log file with anothers log files created each time I call the method logp.
    So I play with these parameters
    fh = new FileHandler(logFileName,true);
    fh = new FileHandler(logFileName,0,1,true);
    fh = new FileHandler(logFileName,10000000,1,true);without succes.
    I want only one log file, how to do that?

  • How to use Application log (slg0 & slg1)

    Hi all,
    Can u please give me some hints to utilize Application log?
    Hope you will help me.
    Thanq in advance,
    Bye.

    hi John,
       Check these FM's out
    BAL_GLB_SEARCH_LOG            
    BAL_LOG_CREATE                
    BAL_LOG_EXC_ADD               
    BAL_LOG_HDR_CHANGE            
    BAL_LOG_HDR_READ              
    BAL_LOG_MSG_ADD               
    BAL_LOG_MSG_ADD_FREE_TEXT     
    BAL_LOG_MSG_CHANGE            
    BAL_LOG_MSG_CUMULATE          
    BAL_LOG_MSG_DELETE            
    BAL_LOG_MSG_DELETE_ALL        
    BAL_LOG_MSG_READ              
    BAL_LOG_REFRESH               
    SBAL_DETAIL                    Application Log: Display: Detail Screens                              
    BAL_DSP_LOG_PARAMETERS         Application Log: Display: Display log header parameter set            
    BAL_DSP_LOG_TECHNICAL_DATA     Application Log: Display: Display log header technical data                                                                               
    SBAL_DISPLAY                   Application Log: Display Log                                          
    BAL_DSP_LOG_DISPLAY            Application Log: Fullscreen log output                                
    BAL_DSP_LOG_PRINT              Application Log: Print log                                                                               
    SBAL_PROFILE                   Application Log: Display Profile                                      
    BAL_DSP_PROFILE_SINGLE_LOG_GET Application Log: Display profile: Standard profile (SLG1) for one log                                                                               
    SBAL_SERVICE                   Application Log: Service Functions                                    
    BAL_LOG_HDR_CHECK              Application Log: Log: Header data: Check                              
    BAL_LOG_MSG_CHECK              Application Log: Log: Message: Check                                                                               
    SBAL_TOOLBOX                   Application Log: Toolbox                                              
    BAL_DB_LOGNUMBER_GET           Application Log: Database: Get internal log number from number range  
    BAL_LOG_DELETE                 Application Log: Log: Delete log (from DB also at save)               
    BAL_LOG_EXIST                  Application Log: Log: Check existence (in memory)                     
    BAL_LOG_MSG_EXIST              Application Log: Log: Message: Check existence (in memory)            
    BAL_LOG_MSG_REPLACE            Application Log: Log: Message: Replace last                           
    BAL_STATISTICS_LOG_GET                                                                               
    BAL_STATISTICS_LOG_SET                                                                               
    Regards,
    Santosh
    Note: Reward Points if helpful

Maybe you are looking for