1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

M #-: Remove debug prints (#4313)

This commit is contained in:
Ruben S. Montero 2020-03-05 13:47:34 +01:00 committed by GitHub
parent 377512587f
commit da148b2396
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 0 additions and 8 deletions

View File

@ -102,7 +102,5 @@ rescue StandardError => e
exit(-1)
end
File.write('/tmp/debug.log', "DEBUG: #{xml_txt}\n", mode: 'a')
monitor = DSMonitor.new config
monitor.dss_metrics

View File

@ -27,8 +27,6 @@ rescue StandardError => e
exit(-1)
end
File.write('/tmp/debug.log', "DEBUG: #{$0}: #{xml_txt}\n", mode: 'a')
ds_location = config.elements['DATASTORE_LOCATION'].text.to_s
ds_location ||= '/var/lib/one/datastores'

View File

@ -20,8 +20,6 @@
# This script is used to monitor the free and used space of a datastore
###############################################################################
echo "HERE1 $0 $@" >> /tmp/debug.log
# -------- Set up the environment to source common tools & conf ------------
if [ -z "${ONE_LOCATION}" ]; then

View File

@ -16,8 +16,6 @@
# limitations under the License. #
#--------------------------------------------------------------------------- #
echo 'SSH' >> /tmp/debug.log
dir="$1"
vms=$(ls "$dir" | grep '^[0-9]\+$')