[New Feature] Per-nzb logging

Discuss newly added features or request new features.
Post Reply
hugbug
Developer & Admin
Posts: 7645
Joined: 09 Sep 2008, 11:58
Location: Germany

[New Feature] Per-nzb logging

Post by hugbug » 26 Feb 2015, 21:02

Each nzb now has its own individual log:
  • messages printed during download or post-processing are saved;
  • the messages can be retrieved later at any time;
  • new button "Log" in the history details dialog;
  • button "Log" in the download details dialog is now active during download too (not only during post-processing);
  • the log contains all nzb-related messages except detail-messages and errors printed during retrieving of articles (they would produce way too many messages and are not that useful anyway);
  • new option "NzbLog" to deactivate per-nzb logging if necessary;
  • per-nzb logs are saved in the queue-directory (option "QueueDir");
  • new RPC-method "loadlog" returns the previously saved messages for a given nzb-file;
  • new field "MessageCount" is returned by RPC-methods "listgroups" and "history" and indicates if there are any messages saved for the item;
  • parameter "NumberOfLogEntries" of RPC-method "listgroups" and the field "Log" returned by the method are now deprecated, use method "loadlog" instead;
  • field "PostInfoText" returned by RPC-method "listgroups" is now automatically filled with the latest message printed by a pp-script eliminating the need to access deprecated field "Log"'.
Implemented in r1221 (v15-testing).

CBers
Posts: 140
Joined: 24 Aug 2014, 11:35

Re: [New Feature] Per-nzb logging

Post by CBers » 26 Feb 2015, 21:23

Nice. Can/will the NZB's log be attached to email on completion?

hugbug
Developer & Admin
Posts: 7645
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: [New Feature] Per-nzb logging

Post by hugbug » 26 Feb 2015, 21:32

Email.py always had this feature, except that the log contained only post-processing messages. Now it will contain download messages too.
That's however not the main point. The most interesting is the ability to view mssages in web ui, at any time, since they are not pushed away by newer messages like on the global messages tab.

CBers
Posts: 140
Joined: 24 Aug 2014, 11:35

Re: [New Feature] Per-nzb logging

Post by CBers » 26 Feb 2015, 21:35

That's great.

Thanks for the update.

Will download latest version tomorrow.

aimhere
Posts: 18
Joined: 30 Dec 2014, 16:16

Re: [New Feature] Per-nzb logging

Post by aimhere » 05 Dec 2015, 08:19

If I might make a request regarding the per-nzb logging?

Would it be possible to have NZBGet save the per-nzb logs to someplace OTHER than the queue folder? My queue folder is huge, containing thousands of files, and trying to find a specific log within that is a literal needle-in-haystack kind of problem.

Even better, how about an option within the log-viewer GUI to save a copy of the log file to a specific location?

hugbug
Developer & Admin
Posts: 7645
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: [New Feature] Per-nzb logging

Post by hugbug » 05 Dec 2015, 08:36

aimhere wrote:Even better, how about an option within the log-viewer GUI to save a copy of the log file to a specific location?
Already done in develop branch.

Post Reply

Who is online

Users browsing this forum: No registered users and 15 guests