[Freeciv-Dev] [bug #19457] Database access too verbose by default

2012-03-06 Thread Jacob Nevins
Update of bug #19457 (project freeciv):

  Status:  Ready For Test = Fixed  
 Open/Closed:Open = Closed 


___

Reply to this item at:

  http://gna.org/bugs/?19457

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #19457] Database access too verbose by default

2012-03-04 Thread Jacob Nevins
Update of bug #19457 (project freeciv):

  Status:None = Ready For Test 
 Assigned to:None = jtn

___

Follow-up Comment #1:

Fixed this via another bug: if a client initiated /fcdb lua, the output of
(say) /fcdb log log.normal(fc_version()) was not getting back to the client,
unlike the equivalent /lua cmd.

I made script_fcdb_do_string() look like script_server_do_string(), which
temporary replaces the Lua output_fct with one that routes to cmd_reply()
for command, and puts back NULL (which routes to the log system) afterwards.
(Previously, cmd_reply() was being used for all output, but caller wasn't
being set so it didn't even go to the client when it should have.) Two birds
with one stone.

Result: the Call to 'database_init' stuff is still there, but only in
log_verbose, needing extra -d to see it, which seems tolerable.

(file #15341)
___

Additional Item Attachment:

File name: trunk-S2_4-fcdb-lua-output.diff Size:2 KB


___

Reply to this item at:

  http://gna.org/bugs/?19457

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #19457] Database access too verbose by default

2012-02-15 Thread Marko Lindqvist
URL:
  http://gna.org/bugs/?19457

 Summary: Database access too verbose by default
 Project: Freeciv
Submitted by: cazfi
Submitted on: Thu 16 Feb 2012 02:32:32 AM EET
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
  Status: None
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Release: 
 Discussion Lock: Any
Operating System: None
 Planned Release: 2.4.0, 2.5.0

___

Details:

Using database in TRUNK (and probably in S2_4) causes messages like
Call to 'database_init' returned '1' (-1 means no return value). appearing
on screen by default (actually, since these do not go through freelog, I don't
know how to disable them)




___

Reply to this item at:

  http://gna.org/bugs/?19457

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev