[ https://issues.apache.org/jira/browse/VCL-423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andy Kurth resolved VCL-423. ---------------------------- Resolution: Fixed > Suppress unnecessary warning messages from vcld.log > --------------------------------------------------- > > Key: VCL-423 > URL: https://issues.apache.org/jira/browse/VCL-423 > Project: VCL > Issue Type: Improvement > Components: vcld (backend) > Affects Versions: 2.2 > Reporter: Andy Kurth > Assignee: Andy Kurth > Priority: Minor > Fix For: 2.3 > > > 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. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira