summaryrefslogtreecommitdiffstats
path: root/builder/dnbd3-rootfs/hooks/fetch-config.sh
diff options
context:
space:
mode:
Diffstat (limited to 'builder/dnbd3-rootfs/hooks/fetch-config.sh')
-rwxr-xr-xbuilder/dnbd3-rootfs/hooks/fetch-config.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/builder/dnbd3-rootfs/hooks/fetch-config.sh b/builder/dnbd3-rootfs/hooks/fetch-config.sh
index 0b8d5a0a..7921a99f 100755
--- a/builder/dnbd3-rootfs/hooks/fetch-config.sh
+++ b/builder/dnbd3-rootfs/hooks/fetch-config.sh
@@ -10,6 +10,9 @@ exceptions.try
{
logging.set_commands_level debug
logging.set_level debug
+[[ "$SLX_LOG_FILE_PATH" == "" ]] && SLX_LOG_FILE_PATH=/var/log/openslx
+logging.set_log_file "$SLX_LOG_FILE_PATH"
+
# NOTE: "getarg" raises an exception so deactivate exceptions for now.
exceptions.deactivate
configuration_file_name="$(getarg slx_configuration_filename=)"