Commit a2776cd4 authored by Marc Vef's avatar Marc Vef
Browse files

Changed preload client startup log verbosity to be able to investigate possible hanging situations

parent 349e4116
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line

/**
 * Attention: This whole configfile is not in a final form! This will eventually be a plaintext config file.
 */

#ifndef FS_CONFIGURE_PUBLIC_H
#define FS_CONFIGURE_PUBLIC_H

+4 −0
Original line number Diff line number Diff line
#include "../configure_public.hpp"

/**
 * Attention: This whole configfile is not in a final form! This will eventually be a plaintext config file.
 */

#ifndef FS_CONFIGURE_H
#define FS_CONFIGURE_H

+3 −1
Original line number Diff line number Diff line
@@ -229,15 +229,17 @@ void init_ld_env_if_needed() {
 * Called initially ONCE when preload library is used with the LD_PRELOAD environment variable
 */
void init_preload() {
    ld_logger->info("{}() enter", __func__);
    init_passthrough_if_needed();
    if (!get_daemon_auxiliaries() || fs_config->mountdir.empty()) {
        perror("Error while getting daemon auxiliaries");
        ld_logger->error("{}() while getting daemon auxiliaries", __func__);
        exit(EXIT_FAILURE);
    } else {
        ld_logger->debug("{}() mountdir \"{}\" loaded from daemon auxiliaries", __func__, fs_config->mountdir);
        ld_logger->info("{}() mountdir \"{}\" loaded from daemon auxiliaries", __func__, fs_config->mountdir);
        is_aux_loaded_ = true;
    }
    ld_logger->info("{}() exit", __func__);
}

/**