-

Note: You are currently viewing documentation for Moodle 3.10. Up-to-date documentation for the latest stable version of Moodle may be available here: Logging.

Talk:Logging: Difference between revisions

From MoodleDocs
Line 16: Line 16:
:: Thanks Marina. If you disable writing to the legacy log will the data that would have been written to the legacy log if it were still enabled be written to the standard log instead? Or will that "legacy log data" not be written to any log at all?
:: Thanks Marina. If you disable writing to the legacy log will the data that would have been written to the legacy log if it were still enabled be written to the standard log instead? Or will that "legacy log data" not be written to any log at all?
:: --[[User:Luis de Vasconcelos|Luis de Vasconcelos]] ([[User talk:Luis de Vasconcelos|talk]]) 17:37, 21 May 2015 (AWST)
:: --[[User:Luis de Vasconcelos|Luis de Vasconcelos]] ([[User talk:Luis de Vasconcelos|talk]]) 17:37, 21 May 2015 (AWST)
Can you migrate the data in the legacy logs to the new standard log? If so, is there a documented migration process?
--[[User:Luis de Vasconcelos|Luis de Vasconcelos]] ([[User talk:Luis de Vasconcelos|talk]]) 19:05, 21 May 2015 (AWST)
If you have a need to keep all your logging data indefinately, or for a very long time, does it make better to use an external database for logging? If so, is there any documentation describing how to do this log data migration from the Moodle database to the external logging database?
--[[User:Luis de Vasconcelos|Luis de Vasconcelos]] ([[User talk:Luis de Vasconcelos|talk]]) 19:05, 21 May 2015 (AWST)

Revision as of 11:05, 21 May 2015

This article says: "A new Moodle site will have Standard logging enabled and Legacy logging disabled. A site which has been upgraded will have both enabled." But is it ok to disable the legacy log on a site which has been upgraded and only use the new standard log? Does Moodle store anything in the legacy log that is not stored in the standard log - especially on a site which has been upgraded? An explanation of this would be useful, especially if disabling the legacy logs will cause some information that is/was logged to the legacy logs to no longer be logged. --Luis de Vasconcelos (talk) 15:52, 20 May 2015 (AWST)

For what i know, you can disable legacy logs. But if you do so : you won't be able to look/show/display (existing) legacy logs, and no new legacy logs will be generated. It can be a problem for non standard plugins not well upgraded, still generating legacy logs, but not standard logs. With time, more plugins are upgraded...
--Séverin Terrier (talk) 19:58, 20 May 2015 (AWST)

Thanks Séverin - I have added your comments to the page. --Mary Cooch (talk) 22:25, 20 May 2015 (AWST)

You can disable legacy store plugin completely OR you can only disable writing to legacy log inside the plugin settings. In the second case you will be able to read from the log but no new entries will be added. This is also what will be set automatically during upgrade. More details
--Marina Glancy (talk) 08:15, 21 May 2015 (AWST)
Thanks Marina for your detailed information. If i remember well (but i can be wrong), when i upgraded to 2.7(.1 ?), legacy log where automatically disabled, so not visible. Suppose it has been improved since then.
--Séverin Terrier (talk) 16:11, 21 May 2015 (AWST)
Thanks Marina. If you disable writing to the legacy log will the data that would have been written to the legacy log if it were still enabled be written to the standard log instead? Or will that "legacy log data" not be written to any log at all?
--Luis de Vasconcelos (talk) 17:37, 21 May 2015 (AWST)

Can you migrate the data in the legacy logs to the new standard log? If so, is there a documented migration process? --Luis de Vasconcelos (talk) 19:05, 21 May 2015 (AWST)

If you have a need to keep all your logging data indefinately, or for a very long time, does it make better to use an external database for logging? If so, is there any documentation describing how to do this log data migration from the Moodle database to the external logging database? --Luis de Vasconcelos (talk) 19:05, 21 May 2015 (AWST)