Log System

Purpose of the Log System:

The log system serves several critical functions, including error tracking, auditing user activities, and monitoring system performance. By maintaining detailed logs, administrators can swiftly identify issues, understand user interactions, and ensure compliance with various standards.

The e107 CMS provides a structured logging system that categorizes logs into distinct types, each designed for specific monitoring and auditing purposes. Here’s a detailed look at the different types of logs you mentioned, along with their descriptions and functionalities:

Log Levels:

The logging system utilizes various log levels, including DEBUG, INFO, NOTICE, WARNING, ERROR, and CRITICAL. This hierarchy allows users to filter logs based on severity, making it easier to focus on the most critical issues first.

    Log Levels:

    DEBUG: Detailed information, typically for developers.

    INFO: General information about system operations.

    NOTICE: Indications of minor issues or noteworthy events.

    WARNING: Indications of potential problems that may require attention.

    ERROR: Errors that occur during execution that need immediate attention.

    CRITICAL: Critical errors that may cause the system to fail.

    Integration with Events:

    e107 can automatically generate log entries based on specific events within the CMS. For example, logging can occur when a user logs in or when content is created or modified, providing a comprehensive audit trail.

    Configuration:

    • Settings: Admins can configure which types of logs to enable or disable through the settings. This allows customization based on the needs of the website.
    • Log Levels: Some configurations may allow setting different logging levels, such as debug, info, warning, or error, enabling finer control over what gets logged.

    Using Logs for Troubleshooting:

    • Debugging: When issues arise, logs can be the first place to check for error messages or warnings that provide clues about the root cause.
    • Performance Tuning: Analyzing logs can help identify slow queries or processes that may be impacting website performance.

    The e107 CMS logging system

    The e107 CMS logging system is a robust feature designed to help developers and administrators monitor, troubleshoot, and maintain their websites effectively. 

    System logs is only one part of e107 CMS logging system, it is the admin panel, user interface that provides an interface to view logs, often with filtering options to narrow down the logs based on date, severity, or type.

    Access and Security:

    Access to log files is typically restricted to authorized personnel to protect sensitive information. The logging system is designed to ensure that critical data remains confidential and secure from unauthorized access. 

    Only main admins have access by default.  Then only admins with access to System Logs functionality can see this part of admin area.

    Image 2

    Search Functionality: Logs can typically be searched for specific entries or keywords to quickly find relevant information.

    Image 3

     Admin Log

    • Description: The Admin Log specifically tracks actions performed by system administrators within the CMS.
    • Purpose: This log is essential for auditing administrative activities, providing accountability for changes made by users with elevated permissions. It helps in understanding who made specific changes, when they occurred, and what actions were taken.

    User Audit Log

    • Description: This log records user-related events, capturing activities such as signups, setting changes, logins, and logouts.
    • Purpose: The User Audit Log provides insights into user behavior and interactions with the system. It is crucial for tracking user activities, enhancing security by identifying unusual patterns, and ensuring compliance with user management policies.

     Rolling Log

    • Description: The Rolling Log is intended for recording transient events that may not require permanent storage.
    • Purpose: This log captures temporary events that occur during normal operations, such as notifications or temporary alerts. It helps in monitoring real-time activities without cluttering the main log files with less significant entries.

    Preferences

    Image 4

    For rolling logs:

    Image 5

    Options

    If offers way how to clean logs from admin area.

    Image 6

    Best Practices:

    • Regular Monitoring: Regularly check logs to catch issues before they escalate.
    • Backup Logs: Maintain backups of logs if they contain critical information for compliance or auditing.
    • Security Considerations: Ensure that access to logs is restricted to authorized personnel to prevent exposure of sensitive information.

    Notes:

    • there is also Access logs option, where every site access is logged as small txt file. It will be covered in Preferences. 
    • this topic is very well covered in official documentation here: https://userguide.e107.org/administration/tools/system-logs
    • advice:  before exporting/backuping database, clean log table 

    Account

    Right Sidebar



    • Jimako
      Jimako  7 months ago

      Here is new chatbox plugin (not new, just updated and fixed)

    • Jimako
      Jimako  2 years ago

      @kreossino Hi, yes, everything is ok.

    • kreossino
      kreossino  2 years ago

      heyyy tutto ok????? ...!!!!

    • Jimako
      Jimako  2 years ago

      Thanks for testing. And next funny thing - I forgot to uninstall APOS plugin, so it still created welcome post for you in forum, but forum is not installed... Just a reminder to look at it.

    • Tgtje
      Tgtje  2 years ago

      @Jimako just info : 1st activ. mail not received (2 day wait), resend ok (20 seconds) wink .

    • Jimako
      Jimako  2 years ago

      test first message biglaugh confused

    • Jimako
      Jimako  3 years ago

      @Alex try this one: https://cookie-script.com/

    • Jimako
      Jimako  3 years ago

      In fact, I have never notice this because with WP plugin it is free. I will see what it does after free trial.

    • Alex
      Alex  3 years ago

      Well it's nice but 10 dollar a month for a business use pro domain... that costs more than the hosting frown

    • Jimako
      Jimako  3 years ago

      And yes, it works very nicely... I use it long time. Just first or second time used on e107 site.


    Smart move on repo setup Using similar with langua [more ...]
    Tgtje 2 years ago
    Updated path where download this older version.
    Jimako 3 years ago
    Now I see that I need to fix comments layout for 2 [more ...]
    Jimako 4 years ago
    Thx Jimako, the website should look outdated, that [more ...]
    Alex 4 years ago
    Themes are next on list. I use it mainly for swit [more ...]
    Jimako 4 years ago
    Nice one J, so if i understand this right i could [more ...]
    Alex 4 years ago

    Jimako 1 month ago
    kreossino 4 months ago
    mr 5 months ago
    gandsnut 6 months ago
    hersul8007 8 months ago
    Martin 1 year ago
    belr 1 year ago
    FloKysLo 1 year ago
    Viktor 1 year ago
    Allan 1 year ago