Jump to content

ImgBurn Support Forum uses cookies. Read the Privacy Policy for more info. To remove this message, please click the button to the right:    I accept the use of cookies

Photo

Write output lines to the log file on disc as they are each generated?



  • Please log in to reply
6 replies to this topic

#1 dbminter

dbminter

    ISF God

  • Beta Team Members
  • PipPipPipPipPip
  • 5,893 posts
  • Gender:Male

Posted 21 March 2018 - 10:18 PM

Every time ImgBurn generates a line in the log, does it write the log to the disc each time?  Or does it queue the entire log until the operation is completed and then the log file is written to disc?  :unsure:

 

 

If it writes the log only after an operation is completed, might I suggest that ImgBurn write to the log file each time it generates an output message?  That way, if an operation fails due to a command that never completes, the log can still be viewable.



#2 LIGHTNING UK!

LIGHTNING UK!

    Author of ImgBurn

  • Admin
  • PipPipPipPipPip
  • 29,595 posts
  • Gender:Male
  • Location:United Kingdom

Posted 21 March 2018 - 11:24 PM

It saves the contents of the log window to the file when it's closed down.

So you'd only lose it by terminating the process in task manager or wherever.
Please don't PM me with questions that should be posted in the forum. I won't reply - Especially if you have post count of 0!!!

Replies to posts belong in the forum where everyone can read them. Please don't PM them.

In fact, don't PM me at all unless it's something I've asked to be told about!

Before asking questions, search the forum to see if someone else already has.

Use the FAQ and Guides forums to your advantage. I don't want to have to tell you to read them!

#3 dbminter

dbminter

    ISF God

  • Beta Team Members
  • PipPipPipPipPip
  • 5,893 posts
  • Gender:Male

Posted 22 March 2018 - 12:01 AM

Ah, then might i again :wink: suggest that each line be written to the log on disk as it's generated in case someone does have to terminate the application?  I suggested this because someone else posted a problem where they couldn't post a log because they had to terminate a locked up ImgBurn.



#4 LIGHTNING UK!

LIGHTNING UK!

    Author of ImgBurn

  • Admin
  • PipPipPipPipPip
  • 29,595 posts
  • Gender:Male
  • Location:United Kingdom

Posted 22 March 2018 - 12:22 AM

The only way that would work is if it saved to a secondary log file.

The layout of the current one doesn’t lend itself to writing line by line.
Please don't PM me with questions that should be posted in the forum. I won't reply - Especially if you have post count of 0!!!

Replies to posts belong in the forum where everyone can read them. Please don't PM them.

In fact, don't PM me at all unless it's something I've asked to be told about!

Before asking questions, search the forum to see if someone else already has.

Use the FAQ and Guides forums to your advantage. I don't want to have to tell you to read them!

#5 dbminter

dbminter

    ISF God

  • Beta Team Members
  • PipPipPipPipPip
  • 5,893 posts
  • Gender:Male

Posted 22 March 2018 - 12:29 AM

Ah, that's a shame. 

 

 

I remember 22 years ago, mIRC used to queue an entire log before writing it to disk after the chat window was closed.  Unfortunately, the application would frequently crash when the log size reached a certain limit, losing the log.  It eventually was changed to write each line of the chat window to the log on disc after it was sent.  This prevented the loss of chat logs.



#6 LIGHTNING UK!

LIGHTNING UK!

    Author of ImgBurn

  • Admin
  • PipPipPipPipPip
  • 29,595 posts
  • Gender:Male
  • Location:United Kingdom

Posted 22 March 2018 - 06:46 AM

Just to explain that, it's due to the entire log from the most recent instance of ImgBurn being saved at the top of the file (but still with individual lines in oldest to newest order), rather than the bottom.

I'd need to just be able to append to it so as to avoid writing out the entire file to the disc each time a line gets added.
Please don't PM me with questions that should be posted in the forum. I won't reply - Especially if you have post count of 0!!!

Replies to posts belong in the forum where everyone can read them. Please don't PM them.

In fact, don't PM me at all unless it's something I've asked to be told about!

Before asking questions, search the forum to see if someone else already has.

Use the FAQ and Guides forums to your advantage. I don't want to have to tell you to read them!

#7 dbminter

dbminter

    ISF God

  • Beta Team Members
  • PipPipPipPipPip
  • 5,893 posts
  • Gender:Male

Posted 22 March 2018 - 02:56 PM

Then, do it!  :lol:  :wink:






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users