www.papercut.com Open in urlscan Pro
34.95.115.145  Public Scan

URL: https://www.papercut.com/kb/Main/PartiallyClearingLogData/
Submission: On November 29 via manual from CH — Scanned from CH

Form analysis 1 forms found in the DOM

POST https://forms.hsforms.com/submissions/v3/public/submit/formsnext/multipart/8186336/525b820a-c332-44a2-b743-cfacfa396ead

<form id="hsForm_525b820a-c332-44a2-b743-cfacfa396ead" method="POST" accept-charset="UTF-8" enctype="multipart/form-data" novalidate=""
  action="https://forms.hsforms.com/submissions/v3/public/submit/formsnext/multipart/8186336/525b820a-c332-44a2-b743-cfacfa396ead"
  class="hs-form-private hsForm_525b820a-c332-44a2-b743-cfacfa396ead hs-form-525b820a-c332-44a2-b743-cfacfa396ead hs-form-525b820a-c332-44a2-b743-cfacfa396ead_eef97553-113e-4118-82ef-16e0a59cb871 hs-form stacked"
  target="target_iframe_525b820a-c332-44a2-b743-cfacfa396ead" data-instance-id="eef97553-113e-4118-82ef-16e0a59cb871" data-form-id="525b820a-c332-44a2-b743-cfacfa396ead" data-portal-id="8186336">
  <div class="hs_email hs-email hs-fieldtype-text field hs-form-field"><label id="label-email-525b820a-c332-44a2-b743-cfacfa396ead" class="" placeholder="Enter your " for="email-525b820a-c332-44a2-b743-cfacfa396ead"><span></span></label>
    <legend class="hs-field-desc" style="display: none;"></legend>
    <div class="input"><input id="email-525b820a-c332-44a2-b743-cfacfa396ead" name="email" required="" placeholder="Email*" type="email" class="hs-input" inputmode="email" autocomplete="email" value=""></div>
  </div>
  <div class="hs_amplitude_device_id hs-amplitude_device_id hs-fieldtype-text field hs-form-field" style="display: none;"><label id="label-amplitude_device_id-525b820a-c332-44a2-b743-cfacfa396ead" class="" placeholder="Enter your Amplitude Device ID"
      for="amplitude_device_id-525b820a-c332-44a2-b743-cfacfa396ead"><span>Amplitude Device ID</span></label>
    <legend class="hs-field-desc" style="display: none;"></legend>
    <div class="input"><input name="amplitude_device_id" class="hs-input" type="hidden" value=""></div>
  </div>
  <div class="legal-consent-container">
    <div>
      <div class="hs-dependent-field">
        <div class="hs_LEGAL_CONSENT.subscription_type_20660050 hs-LEGAL_CONSENT.subscription_type_20660050 hs-fieldtype-booleancheckbox field hs-form-field">
          <legend class="hs-field-desc" style="display: none;"></legend>
          <div class="input">
            <ul class="inputs-list" required="">
              <li class="hs-form-booleancheckbox"><label for="LEGAL_CONSENT.subscription_type_20660050-525b820a-c332-44a2-b743-cfacfa396ead" class="hs-form-booleancheckbox-display"><input
                    id="LEGAL_CONSENT.subscription_type_20660050-525b820a-c332-44a2-b743-cfacfa396ead" class="hs-input" type="checkbox" name="LEGAL_CONSENT.subscription_type_20660050" value="true"><span>
                    <p>Yes, subscribe me to PaperCut news, offers, product updates, newsletters and events.</p><span class="hs-form-required">*</span>
                  </span></label></li>
            </ul>
          </div>
        </div>
      </div>
      <legend class="hs-field-desc checkbox-desc" style="display: none;"></legend>
    </div>
    <div class="hs-richtext">
      <p>By filling out and submitting this form, you agree that you have read our <a href="https://www.papercut.com/privacy-policy/" target="_blank">Privacy Policy</a>, and agree to PaperCut handling your data in accordance with its terms.</p>
    </div>
  </div>
  <div class="hs_recaptcha hs-recaptcha field hs-form-field">
    <div class="input">
      <div class="grecaptcha-badge" data-style="inline" style="width: 256px; height: 60px; box-shadow: gray 0px 0px 5px;">
        <div class="grecaptcha-logo"><iframe title="reCAPTCHA" width="256" height="60" role="presentation" name="a-4xc0za22gyui" frameborder="0" scrolling="no"
            sandbox="allow-forms allow-popups allow-same-origin allow-scripts allow-top-navigation allow-modals allow-popups-to-escape-sandbox allow-storage-access-by-user-activation"
            src="https://www.google.com/recaptcha/enterprise/anchor?ar=1&amp;k=6Ld_ad8ZAAAAAAqr0ePo1dUfAi0m4KPkCMQYwPPm&amp;co=aHR0cHM6Ly93d3cucGFwZXJjdXQuY29tOjQ0Mw..&amp;hl=en&amp;v=-QbJqHfGOUB8nuVRLvzFLVed&amp;size=invisible&amp;badge=inline&amp;cb=efa3cvp10si5"></iframe>
        </div>
        <div class="grecaptcha-error"></div><textarea id="g-recaptcha-response" name="g-recaptcha-response" class="g-recaptcha-response"
          style="width: 250px; height: 40px; border: 1px solid rgb(193, 193, 193); margin: 10px 25px; padding: 0px; resize: none; display: none;"></textarea>
      </div><iframe style="display: none;"></iframe>
    </div><input type="hidden" name="g-recaptcha-response" id="hs-recaptcha-response" value="">
  </div>
  <div class="hs_submit hs-submit">
    <div class="hs-field-desc" style="display: none;"></div>
    <div class="actions"><input type="submit" class="hs-button primary large" value="Submit"></div>
  </div><input name="hs_context" type="hidden"
    value="{&quot;embedAtTimestamp&quot;:&quot;1701259867391&quot;,&quot;formDefinitionUpdatedAt&quot;:&quot;1658376130808&quot;,&quot;lang&quot;:&quot;en&quot;,&quot;legalConsentOptions&quot;:&quot;{\&quot;communicationConsentCheckboxes\&quot;:[{\&quot;communicationTypeId\&quot;:20660050,\&quot;label\&quot;:\&quot;<p>Yes, subscribe me to PaperCut news, offers, product updates, newsletters and events.</p>\&quot;,\&quot;required\&quot;:true}],\&quot;legitimateInterestLegalBasis\&quot;:\&quot;LEGITIMATE_INTEREST_PQL\&quot;,\&quot;processingConsentType\&quot;:\&quot;IMPLICIT\&quot;,\&quot;processingConsentText\&quot;:\&quot;<p>By filling out and submitting this form, you agree that you have read our <a href=\\\&quot;https://www.papercut.com/privacy-policy/\\\&quot; target=\\\&quot;_blank\\\&quot;>Privacy Policy</a>, and agree to PaperCut handling your data in accordance with its terms.</p>\&quot;,\&quot;processingConsentCheckboxLabel\&quot;:\&quot;<p>Yes, subscribe me to PaperCut news, offers, product updates, newsletters and events.</p>\&quot;,\&quot;isLegitimateInterest\&quot;:false}&quot;,&quot;embedType&quot;:&quot;REGULAR&quot;,&quot;renderRawHtml&quot;:&quot;true&quot;,&quot;userAgent&quot;:&quot;Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.6045.159 Safari/537.36&quot;,&quot;pageTitle&quot;:&quot;Partially Clearing Out The Log Data | PaperCut&quot;,&quot;pageUrl&quot;:&quot;https://www.papercut.com/kb/Main/PartiallyClearingLogData/&quot;,&quot;isHubSpotCmsGeneratedPage&quot;:false,&quot;hutk&quot;:&quot;e440ed81a70efbeca8a437fa0b36625d&quot;,&quot;__hsfp&quot;:4100969504,&quot;__hssc&quot;:&quot;154692263.1.1701259869181&quot;,&quot;__hstc&quot;:&quot;154692263.e440ed81a70efbeca8a437fa0b36625d.1701259869181.1701259869181.1701259869181.1&quot;,&quot;formTarget&quot;:&quot;#hbspt-form-eef97553-113e-4118-82ef-16e0a59cb871&quot;,&quot;boolCheckBoxFields&quot;:&quot;LEGAL_CONSENT.subscription_type_20660050&quot;,&quot;rumScriptExecuteTime&quot;:813.9000000357628,&quot;rumTotalRequestTime&quot;:1053.6000000238419,&quot;rumTotalRenderTime&quot;:1114.4000000357628,&quot;rumServiceResponseTime&quot;:239.69999998807907,&quot;rumFormRenderTime&quot;:60.80000001192093,&quot;locale&quot;:&quot;en&quot;,&quot;timestamp&quot;:1701259869193,&quot;originalEmbedContext&quot;:{&quot;portalId&quot;:&quot;8186336&quot;,&quot;formId&quot;:&quot;525b820a-c332-44a2-b743-cfacfa396ead&quot;,&quot;region&quot;:&quot;na1&quot;,&quot;target&quot;:&quot;#hbspt-form-eef97553-113e-4118-82ef-16e0a59cb871&quot;,&quot;isBuilder&quot;:false,&quot;isTestPage&quot;:false,&quot;isPreview&quot;:false,&quot;isMobileResponsive&quot;:true},&quot;correlationId&quot;:&quot;eef97553-113e-4118-82ef-16e0a59cb871&quot;,&quot;renderedFieldsIds&quot;:[&quot;email&quot;,&quot;amplitude_device_id&quot;,&quot;LEGAL_CONSENT.subscription_type_20660050&quot;],&quot;captchaStatus&quot;:&quot;LOADED&quot;,&quot;emailResubscribeStatus&quot;:&quot;NOT_APPLICABLE&quot;,&quot;isInsideCrossOriginFrame&quot;:false,&quot;source&quot;:&quot;forms-embed-1.4186&quot;,&quot;sourceName&quot;:&quot;forms-embed&quot;,&quot;sourceVersion&quot;:&quot;1.4186&quot;,&quot;sourceVersionMajor&quot;:&quot;1&quot;,&quot;sourceVersionMinor&quot;:&quot;4186&quot;,&quot;allPageIds&quot;:{},&quot;_debug_embedLogLines&quot;:[{&quot;clientTimestamp&quot;:1701259867472,&quot;level&quot;:&quot;INFO&quot;,&quot;message&quot;:&quot;Retrieved pageContext values which may be overriden by the embed context: {\&quot;pageTitle\&quot;:\&quot;Partially Clearing Out The Log Data | PaperCut\&quot;,\&quot;pageUrl\&quot;:\&quot;https://www.papercut.com/kb/Main/PartiallyClearingLogData/\&quot;,\&quot;userAgent\&quot;:\&quot;Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.6045.159 Safari/537.36\&quot;,\&quot;isHubSpotCmsGeneratedPage\&quot;:false}&quot;},{&quot;clientTimestamp&quot;:1701259867474,&quot;level&quot;:&quot;INFO&quot;,&quot;message&quot;:&quot;Retrieved countryCode property from normalized embed definition response: \&quot;CH\&quot;&quot;},{&quot;clientTimestamp&quot;:1701259869189,&quot;level&quot;:&quot;INFO&quot;,&quot;message&quot;:&quot;Retrieved analytics values from API response which may be overriden by the embed context: {\&quot;hutk\&quot;:\&quot;e440ed81a70efbeca8a437fa0b36625d\&quot;}&quot;}]}"><iframe
    name="target_iframe_525b820a-c332-44a2-b743-cfacfa396ead" style="display: none;"></iframe>
</form>

Text Content

Hey there!  We use cookies.  Why? They let us personalize content, track usage,
and analyze data on our end to improve your experience.  To learn more about the
different cookies we’re using, check out our Privacy Policy.

OK, I understand

Skip to content
URGENT security message for all NG/MF customers
Everything you need to know about cloud printing
Language

Choose your language

 * No results
   
 * Global (English)
 * Français (Français)
 * España (Español)
 * Deutschland (Deutsche)
 * Suomi (Suomalainen)
 * Italia (Italiano)
 * Nederland (Nederlands)
 * Portugal (Português)
 * Россия (Pусский)
 * Sverige (Svenska)
 * Bolivia (Español)
 * Brazil (Português)
 * Colombia (Español)
 * Ecuador (Español)
 * El Salvador (Español)
 * República Dominicana (Español)
 * Guatemala (Español)
 * Honduras (Español)
 * Mexico (Español)
 * Nicaragua (Español)
 * Panamá (Español)
 * Paraguay (Español)
 * Peru (Español)
 * Uruguay (Español)
 * Venezuela (Español)
 * 中国(简体中文)
 * 台灣(繁體中文)
 * 香港(繁體中文)
 * 日本 (日本語)
 * ประเทศไทย (ไทย)

Login

Choose your login

 * No results
   
 * PaperCut Hive
 * PaperCut Pocket
 * Partner Portal
 * Students / Teachers

Contact

Contact us

 * No results
   
 * Sales
 * Support

Search

Software

Our products

 * PaperCut MF
   
   Powerful print management server for printers and MFDs

 * PaperCut Hive
   
   Complete cloud-native print management for business

 * PaperCut NG
   
   DIY print management server for everyone

 * PaperCut Pocket
   
   Cloud print management solution for businesses with simple needs

 * Compare features
   
   PaperCut Product Suite comparison

Free tools

 * PaperCut Mobility Print
   
   A free Google Cloud Print alternative

 * PaperCut QRdoc
   
   The power of digital documents – on paper

 * PaperCut Views
   
   Real-time print analytics, insights and forecasts

Sustainability

 * PaperCut Grows
   
   Grow your sustainability story.

In the percolator

 * Projects in beta
   
   Features in progress

Popular Features

 * Print rooms
   
   Track and manage all your printing activity

 * Forest Positive Printing
   
   Go further than waste reduction

 * Print Deploy
   
   Print queues made easy

 * Microsoft Universal Print
   
   Take control of your Universal Print environment

Speak with sales

Solutions

For industries

 * High School / K-12
   
   Protect student information, cut costs, reduce waste

 * Higher Education
   
   Easy printing for coworking and serviced offices

 * Healthcare
   
   Safeguard patient information with compliance features

 * Local Government
   
   Reduce budget spend while increasing compliance

 * Legal
   
   Secure confidential client info and assign costs

 * Small to medium business
   
   Grow your business while reducing costs

 * Large Enterprise
   
   Protect your systems, information, and future growth

 * Coworking
   
   Easy printing for coworking and serviced offices

 * Life Sciences
   
   Protect your intellectual property and reduce your costs

What our customers say



“Sustainability is very important to Google nowadays,” says Ofer. “So the idea
that we could literally save paper on printing was appealing to us from the
get-go.”

Ofer Bar-Zakai, Google, US

 * Customer Stories
   
   100 million delighted users and counting. Read their stories

 * Testimonials
   
   Quotes written by our own customers

Speak with sales

Resources

Discover everything we do

 * Easy printing
   
   We’ve simplified printing for you and your end-users

 * Cloud and print
   
   Review our full suite of management solutions for cloud

 * Waste control
   
   Explore why this should be important to everyone

 * Scanning
   
   We’ve made scanning easier and more secure

 * Overview
   
   Explore all our products, and find real-world examples

Popular Resources

 * Grid® Report for Print Management | Fall 2023
   
   

 * Complete Guide to Printing in Education
   
   

 * Get Print Resiliency and Security Without Servers
   
   

 * Securing Your Print System with PaperCut Whitepaper
   
   

 * Find more
   
   Reports, White Papers, Case Studies, Ebooks and more

Have a read

 * Blog
   
   Read our latest news in tech, product updates, and more

Support

 * Overview
   
   

 * Help Center
   
   

 * Manuals
   
   

 * Knowledge base
   
   

 * Known issues
   
   

 * FAQs
   
   

Speak with sales
Software

Our products

 * PaperCut MF
   
   Powerful print management server for printers and MFDs

 * PaperCut Hive
   
   Complete cloud-native print management for business

 * PaperCut NG
   
   DIY print management server for everyone

 * PaperCut Pocket
   
   Cloud print management solution for businesses with simple needs

 * Compare features
   
   PaperCut Product Suite comparison

Free tools

 * PaperCut Mobility Print
   
   A free Google Cloud Print alternative

 * PaperCut QRdoc
   
   The power of digital documents – on paper

 * PaperCut Views
   
   Real-time print analytics, insights and forecasts

Sustainability

 * PaperCut Grows
   
   Grow your sustainability story.

In the percolator

 * Projects in beta
   
   Features in progress

Popular Features

 * Print rooms
   
   Track and manage all your printing activity

 * Forest Positive Printing
   
   Go further than waste reduction

 * Print Deploy
   
   Print queues made easy

 * Microsoft Universal Print
   
   Take control of your Universal Print environment

Speak with sales
Solutions

For industries

 * High School / K-12
   
   Protect student information, cut costs, reduce waste

 * Higher Education
   
   Easy printing for coworking and serviced offices

 * Healthcare
   
   Safeguard patient information with compliance features

 * Local Government
   
   Reduce budget spend while increasing compliance

 * Legal
   
   Secure confidential client info and assign costs

 * Small to medium business
   
   Grow your business while reducing costs

 * Large Enterprise
   
   Protect your systems, information, and future growth

 * Coworking
   
   Easy printing for coworking and serviced offices

 * Life Sciences
   
   Protect your intellectual property and reduce your costs

What our customers say



“Sustainability is very important to Google nowadays,” says Ofer. “So the idea
that we could literally save paper on printing was appealing to us from the
get-go.”

Ofer Bar-Zakai, Google, US

 * Customer Stories
   
   100 million delighted users and counting. Read their stories

 * Testimonials
   
   Quotes written by our own customers

Speak with sales
Resources

Discover everything we do

 * Easy printing
   
   We’ve simplified printing for you and your end-users

 * Cloud and print
   
   Review our full suite of management solutions for cloud

 * Waste control
   
   Explore why this should be important to everyone

 * Scanning
   
   We’ve made scanning easier and more secure

 * Overview
   
   Explore all our products, and find real-world examples

Popular Resources

 * Grid® Report for Print Management | Fall 2023
   
   

 * Complete Guide to Printing in Education
   
   

 * Get Print Resiliency and Security Without Servers
   
   

 * Securing Your Print System with PaperCut Whitepaper
   
   

 * Find more
   
   Reports, White Papers, Case Studies, Ebooks and more

Have a read

 * Blog
   
   Read our latest news in tech, product updates, and more

Support

 * Overview
   
   

 * Help Center
   
   

 * Manuals
   
   

 * Knowledge base
   
   

 * Known issues
   
   

 * FAQs
   
   

Speak with sales
CONTACT SALES

 * Home
 * ›
 * Kb
 * ›
 * Main
 * ›
 * PartiallyClearingLogData

 * HELP CENTER HOME
 * Knowledge Base
    * KB Home
    * FAQs
    * How-to-articles
    * Reference
    * Troubleshooting
    * Known Issues
    * Sales and Licensing
    * End-user articles

 * Product manuals
    * PaperCut NG and MF
    * PaperCut Pocket and Hive
    * Mobility Print
    * Job Ticketing
    * Print Deploy

 * Release notes
    * PaperCut MF release notes
    * PaperCut NG release notes

 * System requirements
    * PaperCut NG
    * PaperCut MF
    * PaperCut Pocket and Hive

 * Support

 * Home
 * ›
 * Support
 * ›
 * Knowledge Base
 * ›
 * Partially Clearing Out The Log Data


PARTIALLY CLEARING OUT THE LOG DATA


AVAILABLE TO CUSTOMERS ON:



Q We are a school who have been running PaperCut for approximately one year. We
would like to clear out the database of print jobs prior to this school year.
How do I perform a partial clear?

PaperCut has unlimited log sizes and has a smart log rotation procedure for text
based system and print logs. Rotation is not usually required as disks are so
large these days. You can, however, configure the system to delete older data
either:

 * Automatically via the options under Options → Backup → Delete old log data
   (Enable automatic weekly reports box must be checked)



 * Manually using the command-line option db-tools delete-old-logs as explained
   in detail in the manual. A value of 0 will delete all logs from today
   onwards.

In line with print management best practice, PaperCut recommends that all sites
keep print log data as long as possible. Historical print usage data allows
organizations to look at printing trends and conduct audits over long periods of
time. PaperCut is designed in a way where large databases with historical log
data will not slow down day-to-day use of the system.

Q I am seeing the error shown below when trying to delete old logs. What can I
do about it?

Error occurred running db-tools, command: 
 delete-old-logs. GC overhead limit exceeded

We have seen this error at a few busy sites. (Sites printing a large volume of
pages every day). By default, db-tools application uses 256MB of memory which
can be increased by making the following changes.

 1. Open the db-tools file using a text editor.
 2. Find the line Xmx256M
 3. Try adding a higher amount by doubling it. E.g. Xmx512M
 4. Save the file.
 5. Test it, and repeat as necessary.

Hopefully, this should resolve the issue. If you still see issues, please
contact support. If you can include the Application server logs, that would be
super helpful.

--------------------------------------------------------------------------------

Categories: How-to Articles , Administration , Logs

--------------------------------------------------------------------------------

Keywords: clearing logs , clear database , rotate log data , clear , remove ,
purge , data , logs , history


COMMENTS


Please enable JavaScript to view the comments powered by Disqus.

Last updated May 9, 2021

Subscribe to PaperCut communications

Amplitude Device ID


 * Yes, subscribe me to PaperCut news, offers, product updates, newsletters and
   events.
   
   *

By filling out and submitting this form, you agree that you have read our
Privacy Policy, and agree to PaperCut handling your data in accordance with its
terms.




This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of
Service apply.

Products

 * Product Overview
 * PaperCut NG
 * PaperCut MF
 * PaperCut Pocket
 * PaperCut Hive
 * Product comparison

Free Tools

 * PaperCut Mobility Print
 * PaperCut QRDoc
 * PaperCut Views

Beta

 * In the Percolator

Solutions for Industries

 * High school/K-12
 * Higher education
 * Healthcare
 * Coworking
 * Life sciences
 * Legal
 * Small businesses
 * Large enterprise
 * Local government

What our customers say

 * Customer Stories
 * Testimonials

Discover

 * Discover overview
 * Easy printing
 * Print security
 * Cloud and Print
 * Waste control
 * Scanning
 * Integrations
 * Products at a Glance
 * Best practices
 * Forest Positive

Have a Read

 * Blog
 * Resources

Support

 * Support Overview

Get PaperCut

 * Contact Sales

About

 * About us
 * Careers

Misc

 * Become a Reseller
 * Privacy Policy
 * Cookie Settings
   
   Hey there!  We use cookies.  Why? They let us personalize content, track
   usage, and analyze data on our end to improve your experience.  To learn more
   about the different cookies we’re using, check out our Privacy Policy.
   
   OK, I understand

PaperCut, the P symbol, and PaperCut products are trademarks of the PaperCut
group of companies.

© PaperCut Software Pty Ltd

Survey

SHARE YOUR THOUGHTS

How easy was it to find what you were looking for on our website?

Submit now