Eiminate meaningless invalid essence messages from Debug log

Issue #791 resolved
Former user created an issue

I continue to try and make the debug log more relevant to the support of my on-line feeds which is unique to Serviio.

When a feed is parsed and the ffmpeg command fails to return metadata you issue:

[code]2014-06-05 07:00:01,116 DEBUG [FeedUpdaterThread] Marking online item sky3-2 as 'invalid essence'[/code]

Then every 60 seconds you

[code]
2014-06-05 07:25:48,864 DEBUG [FeedUpdaterThread] Checking for new and expired online resources[/code]

and you report all the invalid essences:

[code]2014-06-05 07:25:48,879 DEBUG [FeedUpdaterThread] Skipping retrieving technical metadata for item sky3-2, because its essence is invalid.
[/code]

even though you would not retrieve the metadata at that point, and you will reattempt the retrieval when the feed is parsed again at refresh time.

This fills the log with a multitude of pointless messages:

[code]Line 5223: 2014-06-05 07:26:58,774 DEBUG [FeedUpdaterThread] Skipping retrieving technical metadata for item sky3-2, because its essence is invalid.
    Line 5296: 2014-06-05 07:28:06,153 DEBUG [FeedUpdaterThread] Skipping retrieving technical metadata for item sky3-2, because its essence is invalid.
    Line 5381: 2014-06-05 07:29:11,994 DEBUG [FeedUpdaterThread] Skipping retrieving technical metadata for item sky3-2, because its essence is invalid.
    Line 5406: 2014-06-05 07:30:12,478 DEBUG [FeedUpdaterThread] Skipping retrieving technical metadata for item sky3-2, because its essence is invalid.
    Line 5416: 2014-06-05 07:31:12,916 DEBUG [FeedUpdaterThread] Skipping retrieving technical metadata for item sky3-2, because its essence is invalid.
    Line 5426: 2014-06-05 07:32:13,329 DEBUG [FeedUpdaterThread] Skipping retrieving technical metadata for item sky3-2, because its essence is invalid.
    Line 5446: 2014-06-05 07:33:13,720 DEBUG [FeedUpdaterThread] Skipping retrieving technical metadata for item sky3-2, because its essence is invalid.
    Line 5457: 2014-06-05 07:34:14,114 DEBUG [FeedUpdaterThread] Skipping retrieving technical metadata for item sky3-2, because its essence is invalid.
    Line 5482: 2014-06-05 07:35:14,512 DEBUG [FeedUpdaterThread] Skipping retrieving technical metadata for item sky3-2, because its essence is invalid.
    Line 5492: 2014-06-05 07:36:14,857 DEBUG [FeedUpdaterThread] Skipping retrieving technical metadata for item sky3-2, because its essence is invalid.
    Line 5502: 2014-06-05 07:37:15,173 DEBUG [FeedUpdaterThread] Skipping retrieving technical metadata for item sky3-2, because its essence is invalid.
    Line 5512: 2014-06-05 07:38:15,492 DEBUG [FeedUpdaterThread] Skipping retrieving technical metadata for item sky3-2, because its essence is invalid.
    Line 5522: 2014-06-05 07:39:15,798 DEBUG [FeedUpdaterThread] Skipping retrieving technical metadata for item sky3-2, because its essence is invalid.
    Line 5547: 2014-06-05 07:40:16,120 DEBUG [FeedUpdaterThread] Skipping retrieving technical metadata for item sky3-2, because its essence is invalid.
    Line 5557: 2014-06-05 07:41:16,457 DEBUG [FeedUpdaterThread] Skipping retrieving technical metadata for item sky3-2, because its essence is invalid.
    Line 5567: 2014-06-05 07:42:16,804 DEBUG [FeedUpdaterThread] Skipping retrieving technical metadata for item sky3-2, because its essence is invalid.
    Line 5577: 2014-06-05 07:43:17,113 DEBUG [FeedUpdaterThread] Skipping retrieving technical metadata for item sky3-2, because its essence is invalid.
    Line 5587: 2014-06-05 07:44:17,637 DEBUG [FeedUpdaterThread] Skipping retrieving technical metadata for item sky3-2, because its essence is invalid.
    Line 5612: 2014-06-05 07:45:17,918 DEBUG [FeedUpdaterThread] Skipping retrieving technical metadata for item sky3-2, because its essence is invalid.
    Line 5622: 2014-06-05 07:46:18,198 DEBUG [FeedUpdaterThread] Skipping retrieving technical metadata for item sky3-2, because its essence is invalid.
    Line 5632: 2014-06-05 07:47:18,481 DEBUG [FeedUpdaterThread] Skipping retrieving technical metadata for item sky3-2, because its essence is invalid.
[/code]

which I cannot turn off because they are issued by [FeedUpdaterThread] which has other relevant output.

I request that you either turn off these "skipping" messages or perhaps only issue them every 10 or 15 minutes.

Comments (6)

  1. Petr Nejedly repo owner

    Yes, the log is there only for information and debugging user's logs.

    It's logged every minute as it's the timeout between re-checking the parsed feeds. it'll try to get technical metadata for all items, that we could not get the metadata for (ie ffmpeg -i failed or includes unsupported codecs).

    You're right this log is not very useful, I've instead expanded a bit the log which marks it with invalid essence

  2. Former user Account Deleted

    Do you mean that the messages every 60 seconds will be removed? If so please close this.

  3. Log in to comment