Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics SL (Archived)

Delete Event Log

(0) ShareShare
ReportReport
Posted on by 305

We have a massive amount of data in our Event Log file (SL- version 7.0).  Is there any way to delete the data & if so, what effect will it have on our system/data?

Thank you,

-Stacy Leslie

Lost Accountant.... :)

*This post is locked for comments

  • Community Member Profile Picture
    on at
    Re: Delete Event Log

    There are a lot of different ways to delete the files.  We use an SSIS package for SQL that is scheduled by SQL Agent that deletes the files and the records from pstatus.  The statement for the pstatus delete is

    delete from pstatus where execdate < (getdate()-14)

  • Stacy Roach Leslie Profile Picture
    305 on at
    Re: Delete Event Log

    Dwight,

    Thank you for the quick response.  Yes I believe that it is in the DSL root directory.  Is there an easy way to delete the log files?

  • Community Member Profile Picture
    on at
    Re: Delete Event Log

    I assume you are talking about the eventlog folder in the DSL root directory.  We delete enything over 2 weeks old.  We also delete the records from the PSTATUS table for the associated eventlogs.  This way it keeps the users list of eventlogs shorter and we do not get the message that it can not find the file.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > 🔒一 Microsoft Dynamics SL (Archived)

#1
Community Member Profile Picture

Community Member 136

#2
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 102 Super User 2025 Season 1

#3
REUser Profile Picture

REUser 8

Featured topics

Product updates

Dynamics 365 release plans