Skip to main content
ExLibris

Knowledge Assistant

BETA
Back
DigiTool

 

Ex Libris Knowledge Center
  1. Search site
    Go back to previous article
    1. Sign in
      • Sign in
      • Forgot password
  1. Home
  2. DigiTool
  3. Knowledge Articles
  4. Disable localhost_access logging in Digitool

Disable localhost_access logging in Digitool

  1. Last updated
  2. Save as PDF
  3. Share
    1. Share
    2. Tweet
    3. Share
  1. Overview
  2. To Disable Logging..
    1. First Step - Edit xml file
    2. Second Step - Restart JBOSS
  3. Warning

Overview

In Digitool JBOSS generates an access log daily named like this; localhost_access_log.2015-11-16.log in the jb_log path.

If these logs are causing disk space issues, you may wish to set up a scheduled task to delete older logs. If the size is still an issue you may wish to disable access logging altogether.

To Disable Logging..

First Step - Edit xml file

Access logging can be disabled by editing the server.xml using the vi editor:

>jb_deploy

>cd jbossweb-tomcat.sar

>vi server.xml

 

 

To disable logging, comment out this section in server.xml by adding the BOLD highlighted lines

<!-- Access logger -->

<!-- Access logging disabled

            <Valve className="org.apache.catalina.valves.AccessLogValve"

               prefix="localhost_access_log." suffix=".log"

               pattern="common" directory="${jboss.server.home.dir}/log"

               resolveHosts="false" />

-->

Second Step - Restart JBOSS

JBOSS must be restarted in order for the configuration to take effect:

To shut down JBOSS

$jdtlh_bin/jboss_shutdown.sh

To start JBOSS

$jdtlh_bin/jboss_startup.sh

(This will result in a minute or two of downtime)

Warning

There is no facility to change the logging level. Logging is either "on" or "off".

View article in the Exlibris Knowledge Center
  1. Back to top
    • DigiTool Training - Search engine coverage/publishing - October 27 and 28, 2008
    • Does new Voyager location impact Primo Extracts?
  • Was this article helpful?

Recommended articles

  1. Article type
    How-To
    Content Type
    Knowledge Article
    Language
    English
    Product
    DigiTool
  2. Tags
    1. logging
  1. © Copyright 2025 Ex Libris Knowledge Center
  2. Powered by CXone Expert ®
  • Term of Use
  • Privacy Policy
  • Contact Us
2025 Ex Libris. All rights reserved