File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes How to change mod_jk LogLevel debug to error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "How to change mod_jk LogLevel debug to error" Watch "How to change mod_jk LogLevel debug to error" New topic
Author

How to change mod_jk LogLevel debug to error

spartonxyz abcxyz
Greenhorn

Joined: May 02, 2007
Posts: 2
Hi ,
whenever any request gets processed, tomcat is creating huge logs,
i want to change the logLevel from debug to error for lesser size of log file.
my mod_jk.conf file content looks like..
this way is not working out,am i doing it right??
help pls.
Thanks in advance.
-------------------MOD_JK.Conf-----------------------------------
# Load mod_jk module
# Specify the filename of the mod_jk lib
LoadModule jk_module modules/mod_jk.so

# Where to find workers.properties
JkWorkersFile conf/workers.properties

# Where to put jk logs
JkLogFile logs/mod_jk.log
JkLogLevel error
# Set the jk log level [debug/error/info]
#JkLogLevel info
JkLogLevel trace

# Select the log format
JkLogStampFormat "[%a %b %d %H:%M:%S %Y]"

# JkOptions indicates to send SSK KEY SIZE
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories

# JkRequestLogFormat
JkRequestLogFormat "%w %V %T"

# Mount your applications
JkMount /application/* loadbalancer

# You can use external file for mount points.
# It will be checked for updates each 60 seconds.
# The format of the file is: /url=worker
# /examples/*=loadbalancer
JkMountFile conf/uriworkermap.properties

# Add shared memory.
# This directive is present with 1.2.10 and
# later versions of mod_jk, and is needed for
# for load balancing to work properly
JkShmFile logs/jk.shm

# Add jkstatus for managing runtime data
<Location /jkstatus/>
JkMount status
Order deny,allow
Deny from all
Allow from 127.0.0.1 75.14.48.61
</Location>
~
[ May 02, 2007: Message edited by: Bear Bibeault ]
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

"spartonxyz abcxyz",
Welcome to the JavaRanch.

We're a friendly group, but we do require members to have valid display names.

Display names must be two words: your first name, a space, then your last name. Fictitious names are not allowed.

Please edit your profile and correct your display name since accounts with invalid display names get deleted, often without warning

thanks,
Dave
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to change mod_jk LogLevel debug to error
 
Similar Threads
apache tomcat - integration
Setting Load balancer for JBoss using Apache and mod_jk
mod_jk error with POST request
How to change mod_jk LogLevel debug to error
tomcat6 and apache