Where have logs gone?

Where have logs gone?

por Howard Miller -
Número de respostas: 7
Imagem de Core developers Imagem de Documentation writers Imagem de Particularly helpful Moodlers Imagem de Peer reviewers Imagem de Plugin developers
We just upgraded to 4.1 on our main site (from 3.11). This quickly became a huge irritation... I wonder if I've missed something.



...so this is an Assignment and, in particular, its menu. In 3.11, one of the menu options under the "Settings cog" was logs. It opened the logs page with the current activity selected. 

Where has it gone?

Unless I've missed something, I have to go back to the course page (only way is to spot the course in the breadcrumb), select Reports, Select Logs and then find the activity in the dropdown. Which, if the course is huge, can take ages. 

Seems like a serious omission...
Média das avaliações: Useful (1)
Em resposta à Howard Miller

Re: Where have logs gone?

por Leon Stringer -
Imagem de Core developers Imagem de Particularly helpful Moodlers

It looks like this was deliberate decision: MDL-73373:

This is a followup to address any general tertiary navigation issues in the activities.

Identified issues:

2. Remove 'Logs' and 'Competency breakdown' from the secondary navigation in activities (These links can be accessed through Course > Reports)

It looks like you can get the menu back by editing report/log/lib.php changing lines 129-130 from:

        $navigation->add(get_string('logs'), $url, navigation_node::TYPE_SETTING, null, 'logreport', new pix_icon('i/report', ''))
            ->set_show_in_secondary_navigation(false);

to:

        $navigation->add(get_string('logs'), $url, navigation_node::TYPE_SETTING, null, 'logreport', new pix_icon('i/report', ''));

Screenshot showing Logs menu item under More menu

Perhaps a bit more thought was required before making this change.

Média das avaliações: Useful (2)
Em resposta à Leon Stringer

Re: Where have logs gone?

por Howard Miller -
Imagem de Core developers Imagem de Documentation writers Imagem de Particularly helpful Moodlers Imagem de Peer reviewers Imagem de Plugin developers
I don't think your fix will bring up the logs page with that activity already selected, will it? I could live with navigating to the logs page but it's having to find the activity for a second time in some course with 100+ activities that produces the swearing sorriso

I know these things are personal but this really irks me. Having a direct link to logs with that activity pre-selected was a massive time saver.

If anybod thinks the same, please vote - MDL-78624
Média das avaliações: Useful (2)
Em resposta à Howard Miller

Re: Where have logs gone?

por Leon Stringer -
Imagem de Core developers Imagem de Particularly helpful Moodlers

I don't think your fix will bring up the logs page with that activity already selected, will it?

It does because the line above it sets the URL and this hasn't changed from Moodle 3.11 (or, indeed, Moodle 2.2).

        $url = new moodle_url('/report/log/index.php', array('chooselog'=>'1','id'=>$cm->course,'modid'=>$cm->id));
Média das avaliações: Useful (1)
Em resposta à Howard Miller

Re: Where have logs gone?

por Howard Miller -
Imagem de Core developers Imagem de Documentation writers Imagem de Particularly helpful Moodlers Imagem de Peer reviewers Imagem de Plugin developers
An interesting aside to this is that there's also now no simple way to get back to the course page. The only way I can see is to find the course in the breadcrumb. Which, again, doesn't always jump out at you.
Média das avaliações: Useful (1)
Em resposta à Howard Miller

Re: Where have logs gone?

por Shirley Gregorczyk -
Imagem de Particularly helpful Moodlers
I voted up MDL-78624 and then went back and reviewed MDL-73373. I am puzzled how 73373 had no votes (is that true? or are they no longer counted when the ticket is closed) and no consideration for the administrative users. I need to troubleshoot student issues every day. Terrible change in functionality.
Kind Regards
Em resposta à Shirley Gregorczyk

Re: Where have logs gone?

por Howard Miller -
Imagem de Core developers Imagem de Documentation writers Imagem de Particularly helpful Moodlers Imagem de Peer reviewers Imagem de Plugin developers
Another thing I have noticed... I have nothing to do with content in our Moodle site and can't stop people doing things like this...



Now that I'm forced to get to logs via the report link... the dropdown looks like this...


How does one tell which is the required Assignment? One does not?   And this is surprisingly common - there's not enough significant letters in that dropdown. Grrrr....
Média das avaliações: Useful (2)
Em resposta à Shirley Gregorczyk

Re: Where have logs gone?

por Helen Foster -
Imagem de Core developers Imagem de Documentation writers Imagem de Moodle HQ Imagem de Particularly helpful Moodlers Imagem de Plugin developers Imagem de Testers Imagem de Translators

Hi Shirley, it's true that MDL-73373 has no votes. Votes are not removed when an issue is closed. The issue was created by Mihail, a development team lead at Moodle HQ to track issues identified by the team.

Média das avaliações: Useful (2)