Win a copy of Kotlin in Action this week in the Kotlin forum!
    Bookmark Topic Watch Topic
  • New Topic

How to change mod_jk LogLevel debug to error  RSS feed

spartonxyz abcxyz
Posts: 2
  • Mark post as helpful
  • send pies
  • Report post to moderator
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.
# Load mod_jk module
# Specify the filename of the mod_jk lib
LoadModule jk_module modules/

# Where to find
JkWorkersFile conf/

# 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/

# 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
[ May 02, 2007: Message edited by: Bear Bibeault ]
Paul Sturrock
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Report post to moderator
"spartonxyz abcxyz"

Welcome to JavaRanch!

Please update your display name so it complies with our Naming Policy. You can do this here.

Also, please don't post the same topic in more than one forum. You might also benefit from a read of this.

David O'Meara
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please don't post the same question in multiple forums. It creates duplicate conversations and wastes the time of the people trying to help you.

    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!