Make the name of the log file produced by launch script configurable
Previously, the launch script would always use a file named <appname>.log to capture the application's console output. This commit adds a variable, LOG_FILENAME, for specifying the file name defaulting to <appname>.log. Fixes gh-4194
This commit is contained in:
committed by
Andy Wilkinson
parent
fd525077bd
commit
e4230e61d7
@@ -427,6 +427,9 @@ the default behavior in a script or on the command line:
|
||||
|`LOG_FOLDER`
|
||||
|The name of the folder to put log files in (`/var/log` by default).
|
||||
|
||||
|`LOG_FILENAME`
|
||||
|The name of the log file in the `LOG_FOLDER` (`<appname>.log` by default).
|
||||
|
||||
|`APP_NAME`
|
||||
|The name of the app. If the jar is run from a symlink the script guesses the app name,
|
||||
but if it is not a symlink, or you want to explicitly set the app name this can be
|
||||
|
||||
Reference in New Issue
Block a user