Unverified Commit afc64ba8 authored by Tommaso Tocci's avatar Tommaso Tocci
Browse files

Change env variable prefix

All the relevant env variables are now prefixed with GKFS instead of
ADAFS
parent 8eba1876
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -12,9 +12,9 @@ variables:
  TESTS_BUILD_PATH:  "${CI_PROJECT_DIR}/test/build"
  LOG_PATH:          "${CI_PROJECT_DIR}/logs"
  # Configuration variables
  ADAFS_LOG_LEVEL:   "100"
  ADAFS_DAEMON_LOG_PATH:  "${CI_PROJECT_DIR}/logs/daemon.log"
  ADAFS_PRELOAD_LOG_PATH: "${CI_PROJECT_DIR}/logs/preload.log"
  GKFS_LOG_LEVEL:   "100"
  GKFS_DAEMON_LOG_PATH:  "${CI_PROJECT_DIR}/logs/daemon.log"
  GKFS_PRELOAD_LOG_PATH: "${CI_PROJECT_DIR}/logs/preload.log"

image: gekkofs/gekkofs:build_env

+3 −3
Original line number Diff line number Diff line
@@ -131,7 +131,7 @@ an MPI application use the `{mpirun, mpiexec} -x` argument.
 
### Logging
To enable logging the following environment variables are used:
ADAFS_PRELOAD_LOG_PATH="<path/to/file>" to set the path to the logging file of the client library.
ADAFS_DAEMON_LOG_PATH="<path/to/file>" to set the path to the logging file of the daemon.
ADAFS_LOG_LEVEL={off,critical,err,warn,info,debug,trace} to set the trace level verbosity.
GKFS_PRELOAD_LOG_PATH="<path/to/file>" to set the path to the logging file of the client library.
GKFS_DAEMON_LOG_PATH="<path/to/file>" to set the path to the logging file of the daemon.
GKFS_LOG_LEVEL={off,critical,err,warn,info,debug,trace} to set the trace level verbosity.
Numbers from 0-6 may also be used where as 0 is off and 6 represents trace.
 No newline at end of file
+1 −1
Original line number Diff line number Diff line
@@ -47,7 +47,7 @@
#define RPC_DIRENTS_BUFF_SIZE (8 * 1024 * 1024) // 8 mega

// environment prefixes
#define ENV_PREFIX "ADAFS_"
#define ENV_PREFIX "GKFS_"

// Log
#define DEFAULT_PRELOAD_LOG_PATH "/tmp/adafs_preload.log"