Discussion:
[Exist-open] yajsw log settings
nsincaglia
2017-06-23 20:59:27 UTC
Permalink
I just set up an instance of eXist-db 3.3.0 nightly build 2017-06-23 on AWS
Linux using Java Java(TM) SE Runtime Environment (build 1.8.0_131-b11) Java
HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode).

When we run eXist-db using the yajsw wrapper and use the
util:log-system-out() functions, we see a few lines get written to the log
but then it stops. Is there a settings issue we need to address?

Here is the setting info from our wrapper.conf file which is what the code
comes with.

#********************************************************************
# Wrapper Logging Properties
#********************************************************************
# Format of output for the console. (See docs for formats)
# wrapper.console.format=LPTM

# Log Level for console output. (See docs for log levels)
wrapper.console.loglevel=DEBUG

# Log file to use for wrapper output logging.
wrapper.logfile=/mnt/data/exist-3.3.0-2017-06-23/tools/yajsw/logs/wrapper.log

# Format of output for the log file. (See docs for formats)
#wrapper.logfile.format=LPTM

# Log Level for log file output. (See docs for log levels)
wrapper.logfile.loglevel=DEBUG

# Maximum size that the log file will be allowed to grow to before
# the log is rolled. Size is specified in bytes. The default value
# of 0, disables log rolling by size. May abbreviate with the 'k' (kB) or
# 'm' (mB) suffix. For example: 10m = 10 megabytes.
# If wrapper.logfile does not contain the string ROLLNUM it will be
automatically added as suffix of the file name
wrapper.logfile.maxsize=10m

# Maximum number of rolled log files which will be allowed before old
# files are deleted. The default value of 0 implies no limit.
wrapper.logfile.maxfiles=10

# Controls the roll mode of the log file
# possible values: DATE, WRAPPER, JVM
# If DATE is set wrapper.logfile should contain the string YYYYMMDD
# If DATE is set and wrapper.logfile.maxsize is set the log file will be
rolled by size and date
# If DATE is set and wrapper.logfile.maxfiles older files rolled by size or
date are deleted
#wrapper.logfile.rollmode=WRAPPER

Is there any settings we need to change in order to get the
util:log-system-out() function to continue writing data to the wrapper.log



--
View this message in context: http://exist.2174344.n4.nabble.com/yajsw-log-settings-tp4672349.html
Sent from the exist-open mailing list archive at Nabble.com.

Loading...