SUSE Support

Here When You Need Us

SMT - Enable the Informational LogLevel for Apache

This document (7021216) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 11
SUSE Linux Enterprise Server 12
Subscription Management Tool 11
Subscription Management Tool 12

Situation

Enabling the informational log level for Apache on a SMT server.

Resolution

To enable additional logging, follow the following steps:
  1.  Use the editor of your preference and edit the file /etc/apache2/conf.d/smt_mod_perl.conf.In the first lines of the file you will see something similar to this:

        <IfModule mod_perl.c>
          PerlRequire "/etc/apache2/smt-mod_perl-startup.pl"
          ErrorDocument 401 /perl/errors/401
          ErrorDocument 404 /perl/errors/404
          ErrorDocument 500 /perl/errors/500

  2. You have to add the following line:

        LogLevel info

  3. Once added it should look like this:

        <IfModule mod_perl.c>
          LogLevel info
          PerlRequire "/etc/apache2/smt-mod_perl-startup.pl"
          ErrorDocument 401 /perl/errors/401
          ErrorDocument 404 /perl/errors/404
          ErrorDocument 500 /perl/errors/500

  4. Save the file and exit the editor.

  5. Restart the Apache service for the change to take effect:   
         
    • For SLES 11 based SMT server run:

      # service apache2 restart
       
    • For SLES 12 based SMT server run:

      # systemctl restart apache2.service   
      
    • Once the Apache service is restarted wait for instructions from Support and when requested provide them with the following Apache log file for analysis:

            /var/log/apache2/error_log

    Cause

    Sometimes when experiencing problems involving a SMT server, Support and Engineering will need a more detailed log information from the Apache server operations.

    Disclaimer

    This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

    • Document ID:7021216
    • Creation Date: 22-Aug-2017
    • Modified Date:03-Mar-2020
      • Subscription Management Tool
      • SUSE Linux Enterprise Server

    < Back to Support Search

    For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

    SUSE Support Forums

    Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

    Support Resources

    Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

    Open an Incident

    Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.