From 6d747ced87a0a30ee2754cfaae74486a2f30d546 Mon Sep 17 00:00:00 2001 From: Jakub Cegan <cegan@ics.muni.cz> Date: Wed, 15 May 2013 21:22:58 +0200 Subject: [PATCH] Snaha o spravny revert Revert "Reader should send undef as requested type if all messages wanted, not "_all_" nor "_any_"" This reverts commit 505ba410ace3c11f2cb1f6af84658447023aa93d. --- src/contrib/warden-app/WardenApp/Constants.pm | 2 +- src/contrib/warden-app/bin/warden-receiver.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/contrib/warden-app/WardenApp/Constants.pm b/src/contrib/warden-app/WardenApp/Constants.pm index b81ea99..dfa1362 100644 --- a/src/contrib/warden-app/WardenApp/Constants.pm +++ b/src/contrib/warden-app/WardenApp/Constants.pm @@ -16,7 +16,7 @@ our %DEFAULTS = GENERAL_method => ( "stdout" ), GENERAL_logfile => "var/log/receiver.log", GENERAL_wardenpath => "/opt/warden/client", - GENERAL_requested_type => "", + GENERAL_requested_type => "_all_", FILE_directory => "var/fileout/", FILE_method => "append", diff --git a/src/contrib/warden-app/bin/warden-receiver.pl b/src/contrib/warden-app/bin/warden-receiver.pl index 2f587bd..bd58a69 100755 --- a/src/contrib/warden-app/bin/warden-receiver.pl +++ b/src/contrib/warden-app/bin/warden-receiver.pl @@ -13,7 +13,7 @@ use WardenApp::Constants; use constant GENERAL_CONFIG_FILE => "$Bin/../etc/receiver.conf"; use constant DB_CONFIG_FILE => "$Bin/../etc/db.conf"; use constant RECEIVER_SECTION => 'receiver'; -use constant DEFAULT_REQ_ALL => undef; +use constant DEFAULT_REQ_ALL => "_all_"; use constant TRUE => 1; use constant FALSE => 0; -- GitLab