-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the variable SINGCVMFS_LOGDIR to override the location of the cvmfs logs.
- Loading branch information
Showing
3 changed files
with
13 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,6 +40,7 @@ Optional environment variables: | |
SINGCVMFS_OPTSFILE CVMFS options file (default.local) | ||
- should set at least CVMFS_HTTP_PROXY | ||
SINGCVMFS_SINGOPTS Extra singularity command options | ||
SINGCVMFS_LOGDIR Directory for the cvmfs logs | ||
SINGCVMFS_LOGLEVEL Set to debug to enable cvmfs debugging | ||
!EOF! | ||
exit 1 | ||
|
@@ -103,7 +104,11 @@ fi | |
|
||
echo "CVMFS_NFILES=`ulimit -Hn`" >etc/cvmfs/default.d/00-nfiles.conf | ||
echo "CVMFS_USYSLOG=/var/log/cvmfs/@[email protected]" >etc/cvmfs/default.d/00-usyslog.conf | ||
LOGDIR=$HERE/log | ||
if [ -n "$SINGCVMFS_LOGDIR" ]; then | ||
LOGDIR=$SINGCVMFS_LOGDIR | ||
else | ||
LOGDIR=$HERE/log | ||
fi | ||
mkdir -p $LOGDIR | ||
SINGULARITY_BINDPATH="$SINGULARITY_BINDPATH,$LOGDIR:/var/log/cvmfs" | ||
|
||
|