Uploaded image for project: 'VCL'
  1. VCL
  2. VCL-423

Suppress unnecessary warning messages from vcld.log

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.2
    • 2.3
    • vcld (backend)
    • None

    Description

      Warning messages that have no significance should be suppressed from vcld.log. Warnings may currently appear if $self->data->get_* is called and the corresponding data is not set. Example:

      19081 1231098:1310367 reload 2010-12-14 12:45:21 19081 1231098:1310367 reload DataStructure.pm:_automethod(813) corresponding data has not been initialized for get_computer_nextimage_name: $self->request_data-> {reservation} {1310367} {computer} {nextimage} {name}
      19081 1231098:1310367 reload ( 0) DataStructure.pm, _automethod (line: 813)
      19081 1231098:1310367 reload (-1) Autoload.pm, _ANON_ (line: 80)
      19081 1231098:1310367 reload (-2) new.pm, process (line: 107)
      19081 1231098:1310367 reload (-3) vcld, make_new_child (line: 568)
      19081 1231098:1310367 reload (-4) vcld, main (line: 346)

      This would be a problem if the data is required but this often occurs for data that isn't vital to the success of a reservation. This occurs most often for computer current and next image info.

      Update the code to prevent unnecessary warnings from appearing.

      Attachments

        Activity

          People

            arkurth Andrew Kurth
            arkurth Andrew Kurth
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: