mirror of https://github.com/Icinga/icinga2.git
cluster: Add log message to config handler.
This commit is contained in:
parent
607e184a75
commit
ee14e6dda7
|
@ -566,6 +566,8 @@ void ClusterListener::NewClientHandler(const Socket::Ptr& client, TlsRole role)
|
|||
}
|
||||
}
|
||||
|
||||
Log(LogInformation, "cluster", "Sending " + Convert::ToString(config->GetLength()) + " config files to endpoint '" + endpoint->GetName());
|
||||
|
||||
Dictionary::Ptr params = boost::make_shared<Dictionary>();
|
||||
params->Set("identity", GetIdentity());
|
||||
params->Set("config_files", config);
|
||||
|
|
|
@ -16,6 +16,7 @@ Attributes:
|
|||
|
||||
----------------|----------------
|
||||
severity |**Optional.** The minimum severity for this log. Can be "debug", "information", "warning" or "critical". Defaults to "information".
|
||||
----------------|----------------
|
||||
|
||||
FileLogger
|
||||
----------
|
||||
|
|
19
doc/mkdoc.sh
19
doc/mkdoc.sh
|
@ -1,2 +1,19 @@
|
|||
#!/bin/sh
|
||||
pandoc -f markdown_mmd *.md -o icinga2.pdf
|
||||
cd -- `dirname $0`
|
||||
cat <<HTML
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<xmp theme="united" style="display:none;">
|
||||
HTML
|
||||
|
||||
for file in *.md; do
|
||||
cat $file
|
||||
echo
|
||||
done
|
||||
|
||||
cat <<HTML
|
||||
</xmp>
|
||||
|
||||
<script src="http://strapdownjs.com/v/0.2/strapdown.js"></script>
|
||||
</html>
|
||||
HTML
|
||||
|
|
Loading…
Reference in New Issue