Skip to content

Enhance import logging #3279

Description

@christianlupus

Is your feature request related to a problem? Please describe.
The logging routines during import are rather basic. Mostly, the user just gets a message that the server could not import a recipe from a remote site. For debugging and user experience, it would be very nice to have a cleaner output.

It might be even thinkable to have a debug output that simplifies debugging the solution on the machine. E.g. an export of the downloaded HTML data and the extracted intermediate steps might be a feasible solution. These could be prepared internally on a temp folder and cleaned after a certain time frame (1 day or so).

Describe the solution you'd like
Clear logging is essential for users.
Debugging might help sort out issues of the import scripts.

Describe alternatives you've considered
Give only access to the information of failure to the admin via logging to the nextcloud.log file. This would reduce the security related considerations a bit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    APIchanges involving using the app apiBackendIssue or PR related to the backend codeFrontendIssue or PR related to the frontend codeenhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions