Skip to content

Feature: Docs: We should add a logging section to the README to point to in issues #443

@jessebot

Description

@jessebot

Description of the change

Would like to have a logging section that details how to set debug logging like:

you would modify your logging.config.php in your values.yaml under nextcloud.configs for helm something like this:

nextcloud:
  configs:
    logging.config.php: |-
      <?php
      $CONFIG = array (
        'log_type' => 'file',
        'logfile' => 'nextcloud.log',
        'loglevel' => 2,
        'logdateformat' => 'F d, Y H:i:s'
        );

And mention the logging levels as well:

0: DEBUG: All activity; the most detailed logging.

1: INFO: Activity such as user logins and file activities, plus warnings, errors, and fatal errors.

2: WARN: Operations succeed, but with warnings of potential problems, plus errors and fatal errors.

3: ERROR: An operation fails, but other services and operations continue, plus fatal errors.

4: FATAL: The server stops.

should also make sure we note this URL for more info:
https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/logging_configuration.html

Benefits

Then we can point to that section in the README in our issue template as well as in any other issues when users would like to know how to get more detailed logs. Saves typing :)

Possible drawbacks

none that I can see

Additional information

will try to submit a pr to add that section and also update the issue template when I can, but would also be happy to review someone else's PR if they can get to it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgood first issueSmall tasks with clear documentation about how and in which place you need to fix things in.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions