bugDcHub: Hub software for Direct Connect - Bugs: bug #6319, logging problem

 
 

bug #6319: logging problem

Submitter:  Dirk Rieger <hhgoth>
Submitted:  Mon 03 Nov 2003 01:37:55 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release:  * 0.5.2_CVS
Operating System:  Linux x86 Planned Release:  None
Fixed Release: 
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 04 Nov 2003 05:07:51 AM UTC, comment #3: 

I changed the logging funktion inside the bot using it's own logfile and now it works with the fflush. But without the own logfile all log-output is getting dropped.

Dirk Rieger <hhgoth>
Mon 03 Nov 2003 06:21:09 PM UTC, comment #2: 

with a fflush I'm clearing the buffer and everything gets lost

Dirk Rieger <hhgoth>
Mon 03 Nov 2003 05:20:48 PM UTC, comment #1: 

Have you tried to force a buffer flush (flush or fflush on the file descriptor where the data were written) ?

Eric PREVOTEAU <ericprev>
Group Member
Mon 03 Nov 2003 01:37:55 PM UTC, original submission:  

when logging to a file the bot-output is written to the logfile only when I close the bot or the hub itself
I tried to create a logfile for the bot itself, but received the same problem - any ideas ?

I've just tested it on a test-hub but this may have strange results if the output is getting bigger.

Dirk Rieger <hhgoth>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

No changes have been made to this item

Back to the top

Powered by Savane 3.13-4448.
Corresponding source code