[dokuwiki] Some questions about the new debug/logging system

  • From: Chris Green <cl@xxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Thu, 18 Nov 2021 12:10:57 +0000

I am running http://github.com/splitbrain/dokuwiki/tarball/master on
xubuntu 21.10 (which has PHP 8).

I'm having a bit of difficulty with the new logging facilities, so a
couple of questions:-

    Is there a way to clear the logs?  Alternatively a way to insert a
    gap so that it's obvious something new has appeared.



    My debug log is filling up with:-

    2021-11-18 11:53:56 INFO_DEPRECATION_LOG:BEFORE event triggered before 
event system was initialized
    2021-11-18 11:53:56 INFO_DEPRECATION_LOG:AFTER event triggered before event 
system was initialized

    Why do these have INFO_DEPRECATION_LOG on the front if they're in
    the debug log?  ... and where are they coming from, I can see the
    code that actually creates the message but (presumably?) it's an
    action plugin or something somewhere causing the event and there
    doesn't seem to be any easy way to trace back to that.



Another (minor?) issue with the log viewing is that it isn't
'dynamic', you have to refresh the browser window to see any new
messages.  Are the messages logged to a file anywhere, if so that
would address this problem and (mostly) the question about clearing
logs above as one can 'tail -f <logfile>'.


-- 
Chris Green
·

-- 
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts: