Skip to Content
author's profile photo Former Member
Former Member

how to know the history of shrinking log files in mssql


In my SAP system some one shrinked the log file to 100 GB to 5 GB.How we would check when this

was shrinked recently .



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Feb 26, 2009 at 01:31 PM


    Did u check the logfile in sapdirectory.There will be entry of who changed the size and the time.


    Goto the screen where we usually change the logfile size.In that particular field press f1 and goto technical setting screen. Get the program name , table name and field name.

    Now using se11 try to open the table and check whether the changed by value is there for that table.

    Also open the program and debug at change log file process block.use can see in which table it update the changes.

    There is a case of caution in this case.

    The size of the application server's System Log is determined by the

    following SAP profile parameters. Once the current System Log reaches

    the maximum file size, it gets moved to the old_file and and a new

    System Log file gets created. The number of past days messages in the

    System Log depends on the amount/activity of System Log messages and the

    max file size. Once messages get rolled off the current and old files,

    they are no longer retrievable.

    rslg/local/file /usr/sap/<SID>/D*/log/SLOG<SYSNO>

    rslg/local/old_file /usr/sap/<SID>/D*/log/SLOGO<SYSNO>

    rslg/max_diskspace/local 1000000

    rslg/central/file /usr/sap/<SID>/SYS/global/SLOGJ

    rslg/central/old_file /usr/sap/<SID>/SYS/global/SLOGJO

    rslg/max_diskspace/central 4000000 .

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.