|
From: Leif M. <le...@ta...> - 2006-11-29 14:04:47
|
Peter, It is possible to specify any property from the command line. I'm not sure what you are asking for with the wrapper.loglevel=ALL setting. But you can set the log levels by adding the following: wrapper.logfile.loglevel=INFO wrapper.console.loglevel=INFO wrapper.syslog.loglevel=NONE This will only have any effect when the wrapper is first started of course. You could also use an include file in the wrapper.conf file. By rewriting those values, you could then trigger a reload and thus change them by restarting the JVM. Yet another option is to use the command file. This will let you change the log level at any time as the wrapper is running. http://wrapper.tanukisoftware.org/doc/english/prop-commandfile.html Cheers, Leif peter ellis wrote: > If it possible to change the logging level from the shell script for > example in the shell script my start() command contains... > > ... > COMMAND_LINE="$CMDNICE $WRAPPER_CMD $WRAPPER_CONF > wrapper.syslog.ident=$APP_NAME wrapper.pidfile=$PIDFILE > wrapper.daemonize=TRUE $ANCHORPROP $IGNOREPROP $LOCK$ > > Is there a tag like wrapper.loglevel=ALL > > ??? > > |