SID-02275: ExplicitNumbering - Disabled - not view context
| Status: |
Asked |
TWiki version: |
6.0.0 |
Perl version: |
5 |
| Category: |
ExplicitNumberingPlugin |
Server OS: |
RHEL5 |
Last update: |
9 years ago |
Hi,
Noticed debug.txt was over 14GB full which I had to empty before investigating.
There are a ridiculous number of entries in our debug log with the same line "ExplicitNumbering - Disabled - not view context".
To indicate the scale of the issue. In a period of 30 seconds there were 48 entries so explains the 14GB debug log.
ExplicitNumberingPlugin itself is enabled and used, so am reluctant to just remove the plugin if it maybe simply be an issue with how it is installed / configured.
The debug setting is not on (default), and to ensure this I have explicitly set the level as 0.
I did try turning it on for a short time but given the increase in entries (as expected) turned it back off within the minute.
An extract of the log when i had debug on -
" 558 | 2016-11-16 - 18:08:06 |
ExplicitNumbering - Entering common tags handler
559 | 2016-11-16 - 18:08:06 |
ExplicitNumbering - Entering common tags handler
560 | 2016-11-16 - 18:08:06 |
ExplicitNumbering - Entering common tags handler
561 | 2016-11-16 - 18:08:06 |
ExplicitNumbering - Entering common tags handler
562 | 2016-11-16 - 18:08:07 |
ExplicitNumbering - Entering common tags handler
563 | 2016-11-16 - 18:08:07 |
ExplicitNumbering - Entering common tags handler
564 | 2016-11-16 - 18:08:07 |
ExplicitNumbering - Entering common tags handler
565 | 2016-11-16 - 18:08:07 |
ExplicitNumbering - Entering common tags handler
566 | 2016-11-16 - 18:08:07 |
ExplicitNumbering - Entering common tags handler
567 | 2016-11-16 - 18:08:07 |
ExplicitNumbering - Entering common tags handler
568 | 2016-11-16 - 18:08:07 |
ExplicitNumbering - Entering common tags handler
569 | 2016-11-16 - 18:08:07 |
ExplicitNumbering - Entering common tags handler
570 | 2016-11-16 - 18:08:07 |
ExplicitNumbering - Entering common tags handler
571 | 2016-11-16 - 18:08:07 |
ExplicitNumbering - Entering common tags handler
572 | 2016-11-16 - 18:08:07 |
ExplicitNumbering - Entering common tags handler
573 | 2016-11-16 - 18:08:07 |
ExplicitNumbering - Entering common tags handler
574 | 2016-11-16 - 18:08:07 |
ExplicitNumbering - Entering common tags handler
575 | 2016-11-16 - 18:08:07 |
ExplicitNumbering - Entering common tags handler
576 | 2016-11-16 - 18:08:07 |
ExplicitNumbering - Entering common tags handler
577 | 2016-11-16 - 18:08:07 |
ExplicitNumbering - Entering common tags handler
578 | 2016-11-16 - 18:08:07 |
ExplicitNumbering - Entering common tags handler
579 | 2016-11-16 - 18:08:07 |
ExplicitNumberingPlugin Initialzed
580 | 2016-11-16 - 18:08:07 |
ExplicitNumberingPlugin Initialzed
581 | 2016-11-16 - 18:08:07 |
ExplicitNumbering - Entering common tags handler
582 | 2016-11-16 - 18:08:07 |
ExplicitNumbering - Disabled - not view context
583 | 2016-11-16 - 18:08:07 |
ExplicitNumbering - Entering common tags handler
584 | 2016-11-16 - 18:08:07 |
ExplicitNumbering - Disabled - not view context
585 | 2016-11-16 - 18:08:07 |
ExplicitNumbering - Entering common tags handler
586 | 2016-11-16 - 18:08:07 |
ExplicitNumbering - Disabled - not view context
587 | 2016-11-16 - 18:08:07 |
ExplicitNumbering - Entering common tags handler
588 | 2016-11-16 - 18:08:07 |
ExplicitNumbering - Disabled - not view context
589 | 2016-11-16 - 18:08:08 |
ExplicitNumberingPlugin Initialzed
590 | 2016-11-16 - 18:08:08 |
ExplicitNumbering - Entering common tags handler
591 | 2016-11-16 - 18:08:08 |
ExplicitNumbering - Entering common tags handler
592 | 2016-11-16 - 18:08:08 |
ExplicitNumbering - Disabled - not view context
593 | 2016-11-16 - 18:08:08 |
ExplicitNumbering - Entering common tags handler
594 | 2016-11-16 - 18:08:08 |
ExplicitNumbering - Disabled - not view context
595 | 2016-11-16 - 18:08:08 |
ExplicitNumberingPlugin Initialzed
596 | 2016-11-16 - 18:08:09 |
ExplicitNumberingPlugin Initialzed
597 | 2016-11-16 - 18:08:09 |
ExplicitNumberingPlugin Initialzed
598 | 2016-11-16 - 18:08:10 |
ExplicitNumberingPlugin Initialzed
599 | 2016-11-16 - 18:08:10 |
ExplicitNumberingPlugin Initialzed
600 | 2016-11-16 - 18:08:14 |
ExplicitNumberingPlugin Initialzed
601 | 2016-11-16 - 18:08:14 |
ExplicitNumbering - Entering common tags handler
602 | 2016-11-16 - 18:08:14 |
ExplicitNumbering - Entering common tags handler
603 | 2016-11-16 - 18:08:14 |
ExplicitNumbering - Entering common tags handler
604 | 2016-11-16 - 18:08:14 |
ExplicitNumbering - Entering common tags handler
605 | 2016-11-16 - 18:08:14 |
ExplicitNumbering - Entering common tags handler
"
The plugin itself seems to work.
Does this issue seem familiar to anyone who can shed some light on what "ExplicitNumbering - Disabled - not view context" indicates please?
Would like to resolve as 48 lines of this entry is 30 seconds seems excessive.
--
Seeta Patel - 2016-11-16
Discussion and Answer
Maybe this is not related to the
ExplicitNumberingPlugin.
Will just have to manage this for now as I don't really have time to investigate, but if I do find some time will update any findings here.
--
Seeta Patel - 2016-11-16
Hi Seeta,
I don't have this plugin installed but I had a look at the code (/twiki/lib/TWiki/Plugins/ExplicitNumberingPlugin.pm) and found where
ExplicitNumbering - Disabled - not view context was being written to your debug log.
===Starting at Line 113===
TWiki::Func::writeDebug(
'ExplicitNumbering - Disabled - not view context');
return ;
If you compare this with the content starting at line 99 you will see the same TWiki function that writes to the debug log however this time it includes the
if($debug) which makes it conditional upon the
$debug variable. The lack of the if statement means that it will always run the function.
TWiki::Func::writeDebug(
'ExplicitNumbering - Entering common tags handler') if ($debug);
I would suggest modifying the plugin to include the
if($debug).
===Starting at Line 113===
TWiki::Func::writeDebug(
'ExplicitNumbering - Disabled - not view context') if ($debug);
return ;
Hope this is helpful (and hopefully it works).
--
Jani Hamalainen - 2016-11-18
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.