Skip to content

Commit

Permalink
add some logging
Browse files Browse the repository at this point in the history
  • Loading branch information
dkhalife committed Dec 25, 2024
1 parent d329d24 commit 3fce64a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/backends/file/be_file.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ void BE_File::loadFile(const std::string& filePath)

++lineNb;
}

mosquitto_log_printf(MOSQ_LOG_INFO, "*** auth-plugin: loaded %i credentials from `%s`", m_credentials.size(), filePath.c_str());
}

bool BE_File::authenticate(const std::string& username, const std::string& password)
Expand Down

0 comments on commit 3fce64a

Please sign in to comment.