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

 
 

bug #6319: logging problem

Submitted by:  Dirk Rieger <hhgoth>
Submitted on:  Mon 03 Nov 2003 01:37:55 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenRelease: 0.5.2_CVS
Operating System: Linux x86Planned Release: None
Fixed Release: 

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project 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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

No Changes Have Been Made to This Item

Back to the top


Powered by Savane 3.1-cleanup1