Common Log Format

For computer log management, the Common Log Format,[1] also known as the NCSA Common log format,[2] (after NCSA HTTPd) is a standardized text file format used by web servers when generating server log files.[3] Because the format is standardized, the files can be readily analyzed by a variety of web analysis programs, for example Webalizer and Analog.

Each line in a file stored in the Common Log Format has the following syntax:[4][5]

host ident authuser timestamp request-line status bytes

The format is extended by the Combined Log Format with referer and user-agent fields.[6][5]

  1. ^ "Logging in W3C httpd". World Wide Web Consortium. 1995-10-12. Retrieved 2015-04-16.
  2. ^ "Log File Formats: NCSA Common". IBM. 2004-05-19. Archived from the original on 2021-02-24. Retrieved 2013-05-07.
  3. ^ stevewhims. "NCSA Logging - Win32 apps". learn.microsoft.com. Retrieved 2023-02-17.
  4. ^ "Fusion Middleware Administrator's Guide for Oracle HTTP Server". docs.oracle.com. Oracle Corporation. Retrieved 1 May 2025.
  5. ^ a b "Log Files - Apache HTTP Server Version 2.4". httpd.apache.org. Apache Software Foundation. Retrieved 1 May 2025.
  6. ^ "Module ngx_http_log_module". nginx.org. Retrieved 1 May 2025.

© MMXXIII Rich X Search. We shall prevail. All rights reserved. Rich X Search