Project

General

Profile

Actions

Bug #2298

closed

Warden 2.2 plní logy "Use of uninitialized value" a "is deprecated at" (při startu apache i při dotazech)

Added by Pavel Kácha over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Tomáš Plesník
Category:
-
Target version:
Start date:
03/04/2015
Due date:
% Done:

0%

Estimated time:

Description

Příklad:

Empty compile time value given to use lib at /opt/warden-server-2.2/lib/Warden.pm line 25
defined(%hash) is deprecated at /opt/warden-server-2.2/lib/Warden.pm line 224.
        (Maybe you should just omit the defined()?)
defined(%hash) is deprecated at /opt/warden-server-2.2/lib/Warden.pm line 327.
        (Maybe you should just omit the defined()?)
defined(%hash) is deprecated at /opt/warden-server-2.2/lib/Warden.pm line 420.
        (Maybe you should just omit the defined()?)
defined(%hash) is deprecated at /opt/warden-server-2.2/lib/Warden.pm line 463.
        (Maybe you should just omit the defined()?)

Use of uninitialized value $priority in concatenation (.) or string at /opt/warden-server-2.2/lib/Warden.pm line 225.
Use of uninitialized value $timeout in concatenation (.) or string at /opt/warden-server-2.2/lib/Warden.pm line 225.
Use of uninitialized value $target_port in concatenation (.) or string at /opt/warden-server-2.2/lib/Warden.pm line 225.

Je možné, že i dalšími.

Actions #1

Updated by Tomáš Plesník over 9 years ago

  • Status changed from New to In Progress
Actions #2

Updated by Tomáš Plesník over 9 years ago

Zitra se na to podivam.

Actions #3

Updated by Tomáš Plesník over 9 years ago

  • Status changed from In Progress to Resolved

Pavel Kácha wrote:

Příklad:

Empty compile time value given to use lib at /opt/warden-server-2.2/lib/Warden.pm line 25

Opraveno, revize 1d465184. Zpusobeno tim, ze Perlovy interpreter provadi prikaz use pri kompilaci, kdy promenna $lib jeste nebyla deklarovana.

defined(%hash) is deprecated at /opt/warden-server-2.2/lib/Warden.pm line 224.
        (Maybe you should just omit the defined()?)
defined(%hash) is deprecated at /opt/warden-server-2.2/lib/Warden.pm line 327.
        (Maybe you should just omit the defined()?)
defined(%hash) is deprecated at /opt/warden-server-2.2/lib/Warden.pm line 420.
        (Maybe you should just omit the defined()?)
defined(%hash) is deprecated at /opt/warden-server-2.2/lib/Warden.pm line 463.
        (Maybe you should just omit the defined()?)

Opraveno, revize 9469e9d3. V nove verzi Perlu se naplneni hashe a pole nekontroluje pomoci (defined %hash), ale pomoci normalniho testu (%hash).

Use of uninitialized value $priority in concatenation (.) or string at /opt/warden-server-2.2/lib/Warden.pm line 225.
Use of uninitialized value $timeout in concatenation (.) or string at /opt/warden-server-2.2/lib/Warden.pm line 225.
Use of uninitialized value $target_port in concatenation (.) or string at /opt/warden-server-2.2/lib/Warden.pm line 225.

Opraveno, revize a525e51d. Pokud klient nechce do Wardenu odesilat nektere polozky udalosti, tak je nastavi na undef, jelikoz jsme ale do warden-server-2.2 pridali logovani kazde prichozi udalosti, tak nam to zpusobilo problem v tisku techto neinicializovanych promennych.

Je možné, že i dalšími.

/var/log/apache2/error.log je jiz druhy den prazdny, takze zadne dalsi hlasky jsem uz neidentifikoval.

Dekuji za nahlaseni techto "snad uz poslednich" nesvaru.

Actions #4

Updated by Tomáš Plesník over 9 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF