#1033 closed defect (fixed)

eassylogging prints message in console in stead of log file

Reported by: gmerticariu Owned by: vzamfir
Priority: major Milestone:
Component: undecided Version: development
Keywords: Cc: dmisev, pbaumann
Complexity: Medium

Description

  1. Create an empty collection
  1. ./rasql -q 'select avg_cells(test - test/2 -test/3) from test' --out string

./rasql: rasdaman query tool v1.0, rasdaman v9.1.0-g7f0bf32 -- generated on 22.10.2015 18:28:43.
opening database RASBASE at localhost:7001...ok
Executing retrieval query...23/10/2015 13:09:06.778 [ERROR] Internal error: RasnetClientComm::executeQuery(): illegal status value 2
ok
Query result collection has 0 element(s):
./rasql done.

The message shouldn't be printed in console as error. It looks like a log line for the log file.

Note: Status 2 shouldn't be logged as error since it represents empty result.

Change History (3)

comment:1 Changed 17 months ago by dmisev

It's an error in the client side of rasnet, and rasql doesn't have a log file. So the correct fix is to remove the invalid log message altogether?

Last edited 17 months ago by dmisev (previous) (diff)

comment:2 Changed 17 months ago by gmerticariu

According to the code on the sever side, status 2 means empty result. Why is it treated in rnp as error?

comment:3 Changed 17 months ago by gmerticariu

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.